#12020E#12020E
#12020E is a very dark, muted pink. Relative luminance 0.002; OKLCH L 13.3% C 0.044 H 336.8°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).
Color values
| HEX | #12020E |
|---|---|
| RGB | rgb(18, 2, 14) |
| HSL | hsl(315, 80%, 4%) |
| HSV | hsv(315, 89%, 7%) |
| CMYK | cmyk(0%, 88.9%, 22.2%, 92.9%) |
| CIE-LAB | lab(1.84, 6.42, -3.07) |
| CIE-LCH | lch(1.84, 7.11, 334.46°) |
| OKLab | oklab(13.26% 0.0407 -0.0174) |
| OKLCH | oklch(13.26% 0.044 336.8) |
| XYZ | xyz(0.3504, 0.2038, 0.4363) |
| Luminance | 0.0020 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 6.70
Black
#000000
ΔE00 8.30
Almost Black
#070D0D
ΔE00 10.80
Dark
#1B2431
ΔE00 12.91
Midnight
#03012D
ΔE00 14.04
Dark Navy Blue
#00022E
ΔE00 14.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12020E #021206
analogous
#0E0212 #12020E #120206
triadic
#12020E #0E1202 #020E12
tetradic
#12020E #120E02 #021206 #020612
square
#12020E #120E02 #021206 #020612
split-complementary
#12020E #061202 #02120E
monochromatic
#1C0315 #1C0315 #1C0315 #490839 #800E64
Accessibility & contrast
On white
20.18
#12020E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.04
#12020E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12020E
20.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12020E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12020E | 1.00 | 20.18 | 1.04 | 20.18 |
| #FFFFFF | 20.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02050E
Deuteranopia (green-blind)
#06080E
Tritanopia (blue-blind)
#140206
Achromatopsia (no color)
#070707
Design tokens & code
CSS
--color: #12020e; /* rgb */ color: rgb(18, 2, 14); /* oklch */ color: oklch(13.3% 0.044 336.8);
Tailwind
colors: {
custom: {
50: '#4f474d',
500: '#12020e',
950: '#000000',
},
}SCSS
$custom: #12020e; $custom-light: #4f474d; $custom-dark: #000000;
JSON
{
"hex": "#12020e",
"rgb": {
"r": 18,
"g": 2,
"b": 14
},
"hsl": {
"h": 315,
"s": 80,
"l": 3.922
},
"oklch": {
"l": 0.13258,
"c": 0.04424,
"h": 336.8
},
"luminance": 0.00204
}Semantic roles & 50–950 ramp
primary
#12020E
secondary
#195728
accent
#F66331
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777