#8E172D#8E172D
#8E172D is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.152 H 17.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E172D |
|---|---|
| RGB | rgb(142, 23, 45) |
| HSL | hsl(349, 72%, 32%) |
| HSV | hsv(349, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 68.3%, 44.3%) |
| CIE-LAB | lab(30.77, 48.79, 19.45) |
| CIE-LCH | lch(30.77, 52.52, 21.73°) |
| OKLab | oklab(42.23% 0.145 0.046) |
| OKLCH | oklch(42.23% 0.152 17.6) |
| XYZ | xyz(11.9367, 6.5549, 3.1188) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.86
Wine Red
#7B0323
ΔE00 4.46
Red Wine
#8C0034
ΔE00 4.71
Cranberry
#9E003A
ΔE00 4.87
Rouge
#AB1239
ΔE00 5.66
Bordeaux
#7B002C
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E172D #178E78
analogous
#8E1768 #8E172D #8E3D17
triadic
#8E172D #2D8E17 #172D8E
tetradic
#8E172D #688E17 #178E78 #3D178E
square
#8E172D #688E17 #178E78 #3D178E
split-complementary
#8E172D #178E3D #17688E
monochromatic
#25060C #590E1C #8E172D #C3203E #E03F5D
Accessibility & contrast
On white
9.09
#8E172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E172D
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E172D | 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)
#3C392D
Deuteranopia (green-blind)
#595129
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e172d; /* rgb */ color: rgb(142, 23, 45); /* oklch */ color: oklch(42.2% 0.152 17.6);
Tailwind
colors: {
custom: {
50: '#b76265',
500: '#8e172d',
950: '#000000',
},
}SCSS
$custom: #8e172d; $custom-light: #b76265; $custom-dark: #000000;
JSON
{
"hex": "#8e172d",
"rgb": {
"r": 142,
"g": 23,
"b": 45
},
"hsl": {
"h": 348.908,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42231,
"c": 0.15215,
"h": 17.6
},
"luminance": 0.06553
}Semantic roles & 50–950 ramp
primary
#8E172D
secondary
#40C0A9
accent
#EFCD39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A