#8E1718#8E1718
#8E1718 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 26.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1718 |
|---|---|
| RGB | rgb(142, 23, 24) |
| HSL | hsl(359, 72%, 32%) |
| HSV | hsv(359, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 83.1%, 44.3%) |
| CIE-LAB | lab(30.48, 47.89, 32.26) |
| CIE-LCH | lch(30.48, 57.74, 33.97°) |
| OKLab | oklab(41.92% 0.1373 0.0691) |
| OKLCH | oklch(41.92% 0.154 26.7) |
| XYZ | xyz(11.6280, 6.4314, 1.4931) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.04
Carmine
#9D0216
ΔE00 2.85
Indian Red
#850E04
ΔE00 4.19
Darkred
#8B0000
ΔE00 4.24
Dark Red
#840000
ΔE00 4.45
Blood Red
#980002
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1718 #178E8D
analogous
#8E1753 #8E1718 #8E5217
triadic
#8E1718 #188E17 #17188E
tetradic
#8E1718 #538E17 #178E8D #52178E
square
#8E1718 #538E17 #178E8D #52178E
split-complementary
#8E1718 #178E52 #17538E
monochromatic
#250606 #590E0F #8E1718 #C32021 #E03F41
Accessibility & contrast
On white
9.19
#8E1718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E1718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1718
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1718 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#9D0019
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1718; /* rgb */ color: rgb(142, 23, 24); /* oklch */ color: oklch(41.9% 0.154 26.7);
Tailwind
colors: {
custom: {
50: '#b86256',
500: '#8e1718',
950: '#000000',
},
}SCSS
$custom: #8e1718; $custom-light: #b86256; $custom-dark: #000000;
JSON
{
"hex": "#8e1718",
"rgb": {
"r": 142,
"g": 23,
"b": 24
},
"hsl": {
"h": 359.496,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.41918,
"c": 0.15368,
"h": 26.7
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#8E1718
secondary
#40C0BF
accent
#EFED39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78