#20071D color
The hex color #20071D is a very dark, moderate magenta.
In the RGB color model it is made of 12.5% red, 2.7% green and 11.4% blue (32, 7, 29).
Its hue angle is 307°, with 64% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 78% magenta, 9% yellow and 87% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.93:1).
#20071D color codes
| HEX | #20071D | |
|---|---|---|
| RGB | rgb(32, 7, 29) | |
| RGB percent | rgb(12.5%, 2.7%, 11.4%) | |
| HSL | hsl(307, 64%, 8%) | |
| HSV / HSB | hsv(307, 78%, 13%) | |
| CMYK | cmyk(0%, 78%, 9%, 87%) | |
| CIE LAB | lab(4.95, 15.23, -8.65) | |
| CIE LCH | lch(4.95, 17.51, 330.41) | |
| CIE XYZ | xyz(0.893, 0.548, 1.221) | |
| Decimal | 2098973 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20071D, 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 #20071D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.93:1 | Pass | Pass | Pass |
| #20071D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.93:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #20071D looks to people with the most common types of color vision deficiency.
#060e1eProtanopia
no red cones#0e121cDeuteranopia
no green cones#220910Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #20071d; }
.text { color: #20071d; }
.border { border: 2px solid #20071d; }
.transparent { background-color: rgb(32 7 29 / 50%); }
.gradient { background: linear-gradient(to right, #20071d, #200710); }
Similar colors
#1d0d1dShot in the Dark#220022Black Sabbath#220011Belladonna#2b0f2eDark Prom Queen#2c1620Black Cherry#301934Dark Purple#180614Crow#391531Nightly Voyager
Questions
- What color is #20071D?
- #20071D 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 #20071D?
- The RGB value is 32, 7, 29: 32 red, 7 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #20071D?
- The complementary color is #07200A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20071D?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.93:1. WCAG asks for at least 4.5:1 for normal text.