#20171A color
The hex color #20171A is a very dark, grayish rose.
In the RGB color model it is made of 12.5% red, 9% green and 10.2% blue (32, 23, 26).
Its hue angle is 340°, with 16% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 28% magenta, 19% yellow and 87% black.
The closest named color is Bats Cloak (#1F1518), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.52:1).
#20171A color codes
| HEX | #20171A | |
|---|---|---|
| RGB | rgb(32, 23, 26) | |
| RGB percent | rgb(12.5%, 9%, 10.2%) | |
| HSL | hsl(340, 16%, 11%) | |
| HSV / HSB | hsv(340, 28%, 13%) | |
| CMYK | cmyk(0%, 28%, 19%, 87%) | |
| CIE LAB | lab(8.95, 5.18, -0.38) | |
| CIE LCH | lch(8.95, 5.19, 355.82) | |
| CIE XYZ | xyz(1.089, 0.994, 1.112) | |
| Decimal | 2103066 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20171A, 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 #20171A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.52:1 | Pass | Pass | Pass |
| #20171A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.52:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #20171A looks to people with the most common types of color vision deficiency.
#18181aProtanopia
no red cones#1a1a1aDeuteranopia
no green cones#221718Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #20171a; }
.text { color: #20171a; }
.border { border: 2px solid #20171a; }
.transparent { background-color: rgb(32 23 26 / 50%); }
.gradient { background: linear-gradient(to right, #20171a, #201917); }
Similar colors
#1f1518Bats Cloak#1b1212Licorice#201b20Night Demons#1a1110Scandinavian Liquorice#251b19Dark Orchestra#252024Ink Black#241f20Velvet Black#1a161dViolet Void
Questions
- What color is #20171A?
- #20171A is a very dark, grayish rose, closest to the named color Bats Cloak. It belongs to the black family of colors.
- What is the RGB value of #20171A?
- The RGB value is 32, 23, 26: 32 red, 23 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #20171A?
- The complementary color is #17201D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20171A?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.52:1. WCAG asks for at least 4.5:1 for normal text.