#1D1222 color
The hex color #1D1222 is a very dark, desaturated magenta.
In the RGB color model it is made of 11.4% red, 7.1% green and 13.3% blue (29, 18, 34).
Its hue angle is 281°, with 31% saturation and 10% lightness. For print, the CMYK equivalent is 15% cyan, 47% magenta, 0% yellow and 87% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.07:1).
#1D1222 color codes
| HEX | #1D1222 | |
|---|---|---|
| RGB | rgb(29, 18, 34) | |
| RGB percent | rgb(11.4%, 7.1%, 13.3%) | |
| HSL | hsl(281, 31%, 10%) | |
| HSV / HSB | hsv(281, 47%, 13%) | |
| CMYK | cmyk(15%, 47%, 0%, 87%) | |
| CIE LAB | lab(7.31, 9.51, -8.96) | |
| CIE LCH | lch(7.31, 13.06, 316.71) | |
| CIE XYZ | xyz(1.012, 0.809, 1.616) | |
| Decimal | 1905186 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1222, 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 #1D1222 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.07:1 | Pass | Pass | Pass |
| #1D1222 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.07:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #1D1222 looks to people with the most common types of color vision deficiency.
#0f1523Protanopia
no red cones#121622Deuteranopia
no green cones#1d1418Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #1d1222; }
.text { color: #1d1222; }
.border { border: 2px solid #1d1222; }
.transparent { background-color: rgb(29 18 34 / 50%); }
.gradient { background: linear-gradient(to right, #1d1222, #22121f); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#111122Corbeau#150811Noir Fiction#2c1620Black Cherry#1a161dViolet Void#301934Dark Purple
Questions
- What color is #1D1222?
- #1D1222 is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #1D1222?
- The RGB value is 29, 18, 34: 29 red, 18 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #1D1222?
- The complementary color is #172212, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1222?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.07:1. WCAG asks for at least 4.5:1 for normal text.