#8E1917#8E1917
#8E1917 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.152 H 27.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1917 |
|---|---|
| RGB | rgb(142, 25, 23) |
| HSL | hsl(1, 72%, 32%) |
| HSV | hsv(1, 84%, 56%) |
| CMYK | cmyk(0%, 82.4%, 83.8%, 44.3%) |
| CIE-LAB | lab(30.66, 47.30, 33.02) |
| CIE-LCH | lch(30.66, 57.68, 34.92°) |
| OKLab | oklab(42.05% 0.1352 0.0704) |
| OKLCH | oklch(42.05% 0.152 27.5) |
| XYZ | xyz(11.6591, 6.5098, 1.4531) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.18
Carmine
#9D0216
ΔE00 2.96
Indian Red
#850E04
ΔE00 3.81
Darkred
#8B0000
ΔE00 3.89
Blood Red
#980002
ΔE00 4.16
Dark Red
#840000
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1917 #178C8E
analogous
#8E1751 #8E1917 #8E5417
triadic
#8E1917 #178E19 #19178E
tetradic
#8E1917 #518E17 #178C8E #54178E
square
#8E1917 #518E17 #178C8E #54178E
split-complementary
#8E1917 #178E54 #17518E
monochromatic
#250606 #59100E #8E1917 #C32220 #E0423F
Accessibility & contrast
On white
9.12
#8E1917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8E1917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1917
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1917 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#5B5111
Tritanopia (blue-blind)
#9D001A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1917; /* rgb */ color: rgb(142, 25, 23); /* oklch */ color: oklch(42.1% 0.152 27.5);
Tailwind
colors: {
custom: {
50: '#b86255',
500: '#8e1917',
950: '#000000',
},
}SCSS
$custom: #8e1917; $custom-light: #b86255; $custom-dark: #000000;
JSON
{
"hex": "#8e1917",
"rgb": {
"r": 142,
"g": 25,
"b": 23
},
"hsl": {
"h": 1.008,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42054,
"c": 0.15243,
"h": 27.5
},
"luminance": 0.06508
}Semantic roles & 50–950 ramp
primary
#8E1917
secondary
#40BEC0
accent
#ECEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78