#221A26 color
The hex color #221A26 is a very dark, grayish magenta.
In the RGB color model it is made of 13.3% red, 10.2% green and 14.9% blue (34, 26, 38).
Its hue angle is 280°, with 19% saturation and 13% lightness. For print, the CMYK equivalent is 11% cyan, 32% magenta, 0% yellow and 85% black.
The closest named color is Violet Void (#1A161D), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.88:1).
#221A26 color codes
| HEX | #221A26 | |
|---|---|---|
| RGB | rgb(34, 26, 38) | |
| RGB percent | rgb(13.3%, 10.2%, 14.9%) | |
| HSL | hsl(280, 19%, 13%) | |
| HSV / HSB | hsv(280, 32%, 15%) | |
| CMYK | cmyk(11%, 32%, 0%, 85%) | |
| CIE LAB | lab(10.7, 6.88, -6.71) | |
| CIE LCH | lch(10.7, 9.61, 315.72) | |
| CIE XYZ | xyz(1.379, 1.219, 1.996) | |
| Decimal | 2234918 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221A26, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #221A26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.88:1 | Pass | Pass | Pass |
| #221A26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.88:1 | Pass | Pass | Pass |
| Sample text | 1.24:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #221A26 looks to people with the most common types of color vision deficiency.
#181c26Protanopia
no red cones#1a1d26Deuteranopia
no green cones#221b1eTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #221a26; }
.text { color: #221a26; }
.border { border: 2px solid #221a26; }
.transparent { background-color: rgb(34 26 38 / 50%); }
.gradient { background: linear-gradient(to right, #221a26, #261a24); }
Similar colors
#1a161dViolet Void#201b20Night Demons#1d0d1dShot in the Dark#16141cBack in Black#222233Black Velvet#180614Crow#252024Ink Black#1f1518Bats Cloak
Closest common color name: Licorice.
Questions
- What color is #221A26?
- #221A26 is a very dark, grayish magenta, closest to the named color Violet Void. It belongs to the black family of colors.
- What is the RGB value of #221A26?
- The RGB value is 34, 26, 38: 34 red, 26 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #221A26?
- The complementary color is #1E261A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221A26?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.88:1. WCAG asks for at least 4.5:1 for normal text.