#1D071F color
The hex color #1D071F is a very dark, moderate magenta.
In the RGB color model it is made of 11.4% red, 2.7% green and 12.2% blue (29, 7, 31).
Its hue angle is 295°, with 63% saturation and 7% lightness. For print, the CMYK equivalent is 6% cyan, 77% magenta, 0% yellow and 88% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.05:1).
#1D071F color codes
| HEX | #1D071F | |
|---|---|---|
| RGB | rgb(29, 7, 31) | |
| RGB percent | rgb(11.4%, 2.7%, 12.2%) | |
| HSL | hsl(295, 63%, 7%) | |
| HSV / HSB | hsv(295, 77%, 12%) | |
| CMYK | cmyk(6%, 77%, 0%, 88%) | |
| CIE LAB | lab(4.63, 14.06, -10.74) | |
| CIE LCH | lch(4.63, 17.69, 322.62) | |
| CIE XYZ | xyz(0.83, 0.512, 1.351) | |
| Decimal | 1902367 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D071F, 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 #1D071F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.05:1 | Pass | Pass | Pass |
| #1D071F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.05:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #1D071F looks to people with the most common types of color vision deficiency.
#040e20Protanopia
no red cones#0b111eDeuteranopia
no green cones#1e0a11Tritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #1d071f; }
.text { color: #1d071f; }
.border { border: 2px solid #1d071f; }
.transparent { background-color: rgb(29 7 31 / 50%); }
.gradient { background: linear-gradient(to right, #1d071f, #1f0715); }
Similar colors
#1d0d1dShot in the Dark#220022Black Sabbath#2b0f2eDark Prom Queen#301934Dark Purple#180614Crow#220011Belladonna#110011Glossy Black#1c0f33Midnight Monarch
Questions
- What color is #1D071F?
- #1D071F is a very dark, moderate magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #1D071F?
- The RGB value is 29, 7, 31: 29 red, 7 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #1D071F?
- The complementary color is #091F07, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D071F?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.05:1. WCAG asks for at least 4.5:1 for normal text.