#8E1F17#8E1F17
#8E1F17 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.148 H 29.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F17 |
|---|---|
| RGB | rgb(142, 31, 23) |
| HSL | hsl(4, 72%, 32%) |
| HSV | hsv(4, 84%, 56%) |
| CMYK | cmyk(0%, 78.2%, 83.8%, 44.3%) |
| CIE-LAB | lab(31.33, 45.41, 33.66) |
| CIE-LCH | lch(31.33, 56.53, 36.55°) |
| OKLab | oklab(42.55% 0.1293 0.0718) |
| OKLCH | oklch(42.55% 0.148 29) |
| XYZ | xyz(11.8014, 6.7945, 1.5005) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.08
Carmine
#9D0216
ΔE00 3.56
Indian Red
#850E04
ΔE00 3.61
Brick Red
#8F1402
ΔE00 3.80
Darkred
#8B0000
ΔE00 3.82
Blood Red
#980002
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F17 #17868E
analogous
#8E174A #8E1F17 #8E5B17
triadic
#8E1F17 #178E1F #1F178E
tetradic
#8E1F17 #4A8E17 #17868E #5B178E
square
#8E1F17 #4A8E17 #17868E #5B178E
split-complementary
#8E1F17 #178E5B #174A8E
monochromatic
#250806 #59140E #8E1F17 #C32A20 #E04A3F
Accessibility & contrast
On white
8.90
#8E1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8E1F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F17
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F17 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A15
Deuteranopia (green-blind)
#5D5211
Tritanopia (blue-blind)
#9D001F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1f17; /* rgb */ color: rgb(142, 31, 23); /* oklch */ color: oklch(42.6% 0.148 29.0);
Tailwind
colors: {
custom: {
50: '#b86555',
500: '#8e1f17',
950: '#000000',
},
}SCSS
$custom: #8e1f17; $custom-light: #b86555; $custom-dark: #000000;
JSON
{
"hex": "#8e1f17",
"rgb": {
"r": 142,
"g": 31,
"b": 23
},
"hsl": {
"h": 4.034,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42553,
"c": 0.1479,
"h": 29
},
"luminance": 0.06793
}Semantic roles & 50–950 ramp
primary
#8E1F17
secondary
#40B8C0
accent
#E3EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78