#8E1918#8E1918
#8E1918 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.152 H 27.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1918 |
|---|---|
| RGB | rgb(142, 25, 24) |
| HSL | hsl(1, 71%, 33%) |
| HSV | hsv(1, 83%, 56%) |
| CMYK | cmyk(0%, 82.4%, 83.1%, 44.3%) |
| CIE-LAB | lab(30.67, 47.33, 32.45) |
| CIE-LCH | lch(30.67, 57.39, 34.44°) |
| OKLab | oklab(42.07% 0.1355 0.0695) |
| OKLCH | oklch(42.07% 0.152 27.2) |
| XYZ | xyz(11.6693, 6.5139, 1.5069) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.21
Carmine
#9D0216
ΔE00 2.92
Indian Red
#850E04
ΔE00 4.05
Darkred
#8B0000
ΔE00 4.14
Dark Red
#840000
ΔE00 4.40
Blood Red
#980002
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1918 #188D8E
analogous
#8E1852 #8E1918 #8E5418
triadic
#8E1918 #188E19 #19188E
tetradic
#8E1918 #528E18 #188D8E #54188E
square
#8E1918 #528E18 #188D8E #54188E
split-complementary
#8E1918 #188E54 #18528E
monochromatic
#250706 #5A100F #8E1918 #C22221 #DF4341
Accessibility & contrast
On white
9.12
#8E1918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8E1918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1918
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1918 | 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)
#3F3816
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#9D001B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1918; /* rgb */ color: rgb(142, 25, 24); /* oklch */ color: oklch(42.1% 0.152 27.2);
Tailwind
colors: {
custom: {
50: '#b86256',
500: '#8e1918',
950: '#000000',
},
}SCSS
$custom: #8e1918; $custom-light: #b86256; $custom-dark: #000000;
JSON
{
"hex": "#8e1918",
"rgb": {
"r": 142,
"g": 25,
"b": 24
},
"hsl": {
"h": 0.508,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42065,
"c": 0.15231,
"h": 27.2
},
"luminance": 0.06512
}Semantic roles & 50–950 ramp
primary
#8E1918
secondary
#42BFC0
accent
#ECEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78