#8E171D#8E171D
#8E171D is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.153 H 24.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8E171D |
|---|---|
| RGB | rgb(142, 23, 29) |
| HSL | hsl(357, 72%, 32%) |
| HSV | hsv(357, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 79.6%, 44.3%) |
| CIE-LAB | lab(30.53, 48.05, 29.35) |
| CIE-LCH | lch(30.53, 56.31, 31.41°) |
| OKLab | oklab(41.98% 0.1389 0.0644) |
| OKLCH | oklch(41.98% 0.153 24.9) |
| XYZ | xyz(11.6849, 6.4542, 1.7927) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.95
Carmine
#9D0216
ΔE00 3.29
Indian Red
#850E04
ΔE00 5.61
Darkred
#8B0000
ΔE00 5.69
Brown
#A52A2A
ΔE00 5.71
Dark Red
#840000
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E171D #178E88
analogous
#8E1758 #8E171D #8E4D17
triadic
#8E171D #1D8E17 #171D8E
tetradic
#8E171D #588E17 #178E88 #4D178E
square
#8E171D #588E17 #178E88 #4D178E
split-complementary
#8E171D #178E4D #17588E
monochromatic
#250607 #590E12 #8E171D #C32028 #E03F48
Accessibility & contrast
On white
9.17
#8E171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E171D
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E171D | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#9D001B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e171d; /* rgb */ color: rgb(142, 23, 29); /* oklch */ color: oklch(42.0% 0.153 24.9);
Tailwind
colors: {
custom: {
50: '#b86259',
500: '#8e171d',
950: '#000000',
},
}SCSS
$custom: #8e171d; $custom-light: #b86259; $custom-dark: #000000;
JSON
{
"hex": "#8e171d",
"rgb": {
"r": 142,
"g": 23,
"b": 29
},
"hsl": {
"h": 356.975,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.41976,
"c": 0.15313,
"h": 24.9
},
"luminance": 0.06452
}Semantic roles & 50–950 ramp
primary
#8E171D
secondary
#40C0BA
accent
#EFE639
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78