#1D1222 color

#1D1222 rgb(29, 18, 34)
Shades of black

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
RGBrgb(29, 18, 34)
RGB percentrgb(11.4%, 7.1%, 13.3%)
HSLhsl(281, 31%, 10%)
HSV / HSBhsv(281, 47%, 13%)
CMYKcmyk(15%, 47%, 0%, 87%)
CIE LABlab(7.31, 9.51, -8.96)
CIE LCHlch(7.31, 13.06, 316.71)
CIE XYZxyz(1.012, 0.809, 1.616)
Decimal1905186
Short hexNone (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 #1D1222RatioAAAAAAA large
Sample text1.16:1FailFailFail
Sample text18.07:1PassPassPass
#1D1222 as text onRatioAAAAAAA large
Sample text18.07:1PassPassPass
Sample text1.16:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.