#8E172B#8E172B
#8E172B is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.2% C 0.152 H 18.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8E172B |
|---|---|
| RGB | rgb(142, 23, 43) |
| HSL | hsl(350, 72%, 32%) |
| HSV | hsv(350, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 69.7%, 44.3%) |
| CIE-LAB | lab(30.74, 48.68, 20.71) |
| CIE-LCH | lch(30.74, 52.90, 23.04°) |
| OKLab | oklab(42.19% 0.1442 0.0486) |
| OKLCH | oklch(42.19% 0.152 18.6) |
| XYZ | xyz(11.8991, 6.5399, 2.9208) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.72
Wine Red
#7B0323
ΔE00 4.58
Red Wine
#8C0034
ΔE00 5.37
Cranberry
#9E003A
ΔE00 5.46
Rouge
#AB1239
ΔE00 5.85
Bordeaux
#7B002C
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E172B #178E7A
analogous
#8E1767 #8E172B #8E3F17
triadic
#8E172B #2B8E17 #172B8E
tetradic
#8E172B #678E17 #178E7A #3F178E
square
#8E172B #678E17 #178E7A #3F178E
split-complementary
#8E172B #178E3F #17678E
monochromatic
#25060B #590E1B #8E172B #C3203B #E03F5A
Accessibility & contrast
On white
9.10
#8E172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E172B
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E172B | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C382B
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#9C0020
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e172b; /* rgb */ color: rgb(142, 23, 43); /* oklch */ color: oklch(42.2% 0.152 18.6);
Tailwind
colors: {
custom: {
50: '#b76264',
500: '#8e172b',
950: '#000000',
},
}SCSS
$custom: #8e172b; $custom-light: #b76264; $custom-dark: #000000;
JSON
{
"hex": "#8e172b",
"rgb": {
"r": 142,
"g": 23,
"b": 43
},
"hsl": {
"h": 349.916,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42193,
"c": 0.15218,
"h": 18.6
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#8E172B
secondary
#40C0AB
accent
#EFD039
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79