#22181E#22181E
#22181E is a very dark, near-neutral pink. Relative luminance 0.011; OKLCH L 22.4% C 0.019 H 342.1°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).
Color values
| HEX | #22181E |
|---|---|
| RGB | rgb(34, 24, 30) |
| HSL | hsl(324, 17%, 11%) |
| HSV | hsv(324, 29%, 13%) |
| CMYK | cmyk(0%, 29.4%, 11.8%, 86.7%) |
| CIE-LAB | lab(9.70, 6.33, -2.25) |
| CIE-LCH | lch(9.70, 6.72, 340.40°) |
| OKLab | oklab(22.4% 0.0184 -0.0059) |
| OKLCH | oklch(22.4% 0.019 342.1) |
| XYZ | xyz(1.2207, 1.0871, 1.3736) |
| Luminance | 0.0109 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 7.45
Black
#000000
ΔE00 9.88
Dark
#1B2431
ΔE00 11.18
Almost Black
#070D0D
ΔE00 11.34
Dark Grey
#363737
ΔE00 12.42
Onyx
#353839
ΔE00 13.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22181E #18221C
analogous
#211822 #22181E #221819
triadic
#22181E #1E2218 #181E22
tetradic
#22181E #222118 #18221C #181922
square
#22181E #222118 #18221C #181922
split-complementary
#22181E #192218 #182221
monochromatic
#120D10 #120D10 #22181E #46313E #6A4B5D
Accessibility & contrast
On white
17.25
#22181E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#22181E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22181E
17.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22181E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22181E | 1.00 | 17.25 | 1.22 | 17.25 |
| #FFFFFF | 17.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#181A1E
Deuteranopia (green-blind)
#1B1B1E
Tritanopia (blue-blind)
#23181A
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #22181e; /* rgb */ color: rgb(34, 24, 30); /* oklch */ color: oklch(22.4% 0.019 342.1);
Tailwind
colors: {
custom: {
50: '#5d5459',
500: '#22181e',
950: '#000000',
},
}SCSS
$custom: #22181e; $custom-light: #5d5459; $custom-dark: #000000;
JSON
{
"hex": "#22181e",
"rgb": {
"r": 34,
"g": 24,
"b": 30
},
"hsl": {
"h": 324,
"s": 17.241,
"l": 11.373
},
"oklch": {
"l": 0.22397,
"c": 0.01928,
"h": 342.1
},
"luminance": 0.01087
}Semantic roles & 50–950 ramp
primary
#22181E
secondary
#425449
accent
#BA8C6E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878