#8E172C#8E172C
#8E172C is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.2% C 0.152 H 18.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E172C |
|---|---|
| RGB | rgb(142, 23, 44) |
| HSL | hsl(349, 72%, 32%) |
| HSV | hsv(349, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 69%, 44.3%) |
| CIE-LAB | lab(30.75, 48.74, 20.08) |
| CIE-LCH | lch(30.75, 52.71, 22.39°) |
| OKLab | oklab(42.21% 0.1446 0.0473) |
| OKLCH | oklch(42.21% 0.152 18.1) |
| XYZ | xyz(11.9177, 6.5473, 3.0186) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.78
Wine Red
#7B0323
ΔE00 4.51
Red Wine
#8C0034
ΔE00 5.04
Cranberry
#9E003A
ΔE00 5.16
Rouge
#AB1239
ΔE00 5.75
Bordeaux
#7B002C
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E172C #178E79
analogous
#8E1767 #8E172C #8E3E17
triadic
#8E172C #2C8E17 #172C8E
tetradic
#8E172C #678E17 #178E79 #3E178E
square
#8E172C #678E17 #178E79 #3E178E
split-complementary
#8E172C #178E3E #17678E
monochromatic
#25060B #590E1C #8E172C #C3203C #E03F5C
Accessibility & contrast
On white
9.09
#8E172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E172C
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E172C | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C382C
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e172c; /* rgb */ color: rgb(142, 23, 44); /* oklch */ color: oklch(42.2% 0.152 18.1);
Tailwind
colors: {
custom: {
50: '#b76264',
500: '#8e172c',
950: '#000000',
},
}SCSS
$custom: #8e172c; $custom-light: #b76264; $custom-dark: #000000;
JSON
{
"hex": "#8e172c",
"rgb": {
"r": 142,
"g": 23,
"b": 44
},
"hsl": {
"h": 349.412,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42212,
"c": 0.15216,
"h": 18.1
},
"luminance": 0.06545
}Semantic roles & 50–950 ramp
primary
#8E172C
secondary
#40C0AA
accent
#EFCF39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A