#8E1812#8E1812
#8E1812 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 28.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1812 |
|---|---|
| RGB | rgb(142, 24, 18) |
| HSL | hsl(3, 78%, 31%) |
| HSV | hsv(3, 87%, 56%) |
| CMYK | cmyk(0%, 83.1%, 87.3%, 44.3%) |
| CIE-LAB | lab(30.52, 47.45, 35.62) |
| CIE-LCH | lch(30.52, 59.33, 36.89°) |
| OKLab | oklab(41.93% 0.1347 0.0741) |
| OKLCH | oklch(41.93% 0.154 28.8) |
| XYZ | xyz(11.5926, 6.4496, 1.2067) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.42
Indian Red
#850E04
ΔE00 2.81
Darkred
#8B0000
ΔE00 2.84
Blood Red
#980002
ΔE00 3.10
Brick Red
#8F1402
ΔE00 3.16
Dark Red
#840000
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1812 #12888E
analogous
#8E124A #8E1812 #8E5612
triadic
#8E1812 #128E18 #18128E
tetradic
#8E1812 #4A8E12 #12888E #56128E
square
#8E1812 #4A8E12 #12888E #56128E
split-complementary
#8E1812 #128E56 #124A8E
monochromatic
#210604 #580F0B #8E1812 #C42119 #E53E35
Accessibility & contrast
On white
9.17
#8E1812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E1812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1812
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1812 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F370F
Deuteranopia (green-blind)
#5C510A
Tritanopia (blue-blind)
#9D0019
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1812; /* rgb */ color: rgb(142, 24, 18); /* oklch */ color: oklch(41.9% 0.154 28.8);
Tailwind
colors: {
custom: {
50: '#b86252',
500: '#8e1812',
950: '#000000',
},
}SCSS
$custom: #8e1812; $custom-light: #b86252; $custom-dark: #000000;
JSON
{
"hex": "#8e1812",
"rgb": {
"r": 142,
"g": 24,
"b": 18
},
"hsl": {
"h": 2.903,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.41934,
"c": 0.15371,
"h": 28.8
},
"luminance": 0.06448
}Semantic roles & 50–950 ramp
primary
#8E1812
secondary
#3ABCC2
accent
#EBF434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78