#8E171E#8E171E
#8E171E is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.153 H 24.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E171E |
|---|---|
| RGB | rgb(142, 23, 30) |
| HSL | hsl(356, 72%, 32%) |
| HSV | hsv(356, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 78.9%, 44.3%) |
| CIE-LAB | lab(30.54, 48.09, 28.75) |
| CIE-LCH | lch(30.54, 56.03, 30.87°) |
| OKLab | oklab(41.99% 0.1393 0.0635) |
| OKLCH | oklch(41.99% 0.153 24.5) |
| XYZ | xyz(11.6975, 6.4592, 1.8589) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.21
Carmine
#9D0216
ΔE00 3.47
Burgundy
#800020
ΔE00 5.50
Brown
#A52A2A
ΔE00 5.73
Indian Red
#850E04
ΔE00 5.91
Darkred
#8B0000
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E171E #178E87
analogous
#8E1759 #8E171E #8E4C17
triadic
#8E171E #1E8E17 #171E8E
tetradic
#8E171E #598E17 #178E87 #4C178E
square
#8E171E #598E17 #178E87 #4C178E
split-complementary
#8E171E #178E4C #17598E
monochromatic
#250608 #590E13 #8E171E #C32029 #E03F49
Accessibility & contrast
On white
9.16
#8E171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E171E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E171E | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#9D001B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e171e; /* rgb */ color: rgb(142, 23, 30); /* oklch */ color: oklch(42.0% 0.153 24.5);
Tailwind
colors: {
custom: {
50: '#b8625a',
500: '#8e171e',
950: '#000000',
},
}SCSS
$custom: #8e171e; $custom-light: #b8625a; $custom-dark: #000000;
JSON
{
"hex": "#8e171e",
"rgb": {
"r": 142,
"g": 23,
"b": 30
},
"hsl": {
"h": 356.471,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.41989,
"c": 0.15304,
"h": 24.5
},
"luminance": 0.06457
}Semantic roles & 50–950 ramp
primary
#8E171E
secondary
#40C0B9
accent
#EFE439
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78