#8E2717#8E2717
#8E2717 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.141 H 31.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2717 |
|---|---|
| RGB | rgb(142, 39, 23) |
| HSL | hsl(8, 72%, 32%) |
| HSV | hsv(8, 84%, 56%) |
| CMYK | cmyk(0%, 72.5%, 83.8%, 44.3%) |
| CIE-LAB | lab(32.40, 42.45, 34.68) |
| CIE-LCH | lch(32.40, 54.82, 39.25°) |
| OKLab | oklab(43.35% 0.1201 0.0741) |
| OKLCH | oklch(43.35% 0.141 31.7) |
| XYZ | xyz(12.0369, 7.2655, 1.5790) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.28
Brick Red
#8F1402
ΔE00 3.38
Indian Red
#850E04
ΔE00 4.08
Blood Red
#980002
ΔE00 4.14
Deep Red
#9A0200
ΔE00 4.31
Darkred
#8B0000
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2717 #177E8E
analogous
#8E1743 #8E2717 #8E6217
triadic
#8E2717 #178E27 #27178E
tetradic
#8E2717 #438E17 #177E8E #62178E
square
#8E2717 #438E17 #177E8E #62178E
split-complementary
#8E2717 #178E62 #17438E
monochromatic
#250A06 #59190E #8E2717 #C33520 #E0553F
Accessibility & contrast
On white
8.56
#8E2717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8E2717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2717
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2717 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#5F5512
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2717; /* rgb */ color: rgb(142, 39, 23); /* oklch */ color: oklch(43.4% 0.141 31.7);
Tailwind
colors: {
custom: {
50: '#b76856',
500: '#8e2717',
950: '#000000',
},
}SCSS
$custom: #8e2717; $custom-light: #b76856; $custom-dark: #000000;
JSON
{
"hex": "#8e2717",
"rgb": {
"r": 142,
"g": 39,
"b": 23
},
"hsl": {
"h": 8.067,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.43352,
"c": 0.14108,
"h": 31.7
},
"luminance": 0.07264
}Semantic roles & 50–950 ramp
primary
#8E2717
secondary
#40AFC0
accent
#D6EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78