#20221F color
The hex color #20221F is a dark gray.
In the RGB color model it is made of 12.5% red, 13.3% green and 12.2% blue (32, 34, 31).
Its hue angle is 100°, with 5% saturation and 13% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 9% yellow and 87% black.
The closest named color is Bitter Liquorice (#262926), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.03:1).
#20221F color codes
| HEX | #20221F | |
|---|---|---|
| RGB | rgb(32, 34, 31) | |
| RGB percent | rgb(12.5%, 13.3%, 12.2%) | |
| HSL | hsl(100, 5%, 13%) | |
| HSV / HSB | hsv(100, 9%, 13%) | |
| CMYK | cmyk(6%, 0%, 9%, 87%) | |
| CIE LAB | lab(12.92, -1.67, 1.7) | |
| CIE LCH | lch(12.92, 2.38, 134.39) | |
| CIE XYZ | xyz(1.415, 1.55, 1.521) | |
| Decimal | 2105887 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20221F, 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 #20221F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.03:1 | Pass | Pass | Pass |
| #20221F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.03:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #20221F looks to people with the most common types of color vision deficiency.
#22211fProtanopia
no red cones#22211fDeuteranopia
no green cones#202221Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #20221f; }
.text { color: #20221f; }
.border { border: 2px solid #20221f; }
.transparent { background-color: rgb(32 34 31 / 50%); }
.gradient { background: linear-gradient(to right, #20221f, #1f221f); }
Similar colors
#262926Bitter Liquorice#1c1c1aCoco’s Black#212121Lead#232323Young Night#191916Twilight Zone#252525Nero#1e231cUnderworld#282828Dire Wolf
Closest common color name: Off Black.
Questions
- What color is #20221F?
- #20221F is a dark gray, closest to the named color Bitter Liquorice. It belongs to the black family of colors.
- What is the RGB value of #20221F?
- The RGB value is 32, 34, 31: 32 red, 34 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #20221F?
- The complementary color is #211F22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20221F?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.03:1. WCAG asks for at least 4.5:1 for normal text.