#8E172E#8E172E
#8E172E is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 17.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8E172E |
|---|---|
| RGB | rgb(142, 23, 46) |
| HSL | hsl(348, 72%, 32%) |
| HSV | hsv(348, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 67.6%, 44.3%) |
| CIE-LAB | lab(30.79, 48.85, 18.81) |
| CIE-LCH | lch(30.79, 52.34, 21.07°) |
| OKLab | oklab(42.25% 0.1454 0.0447) |
| OKLCH | oklch(42.25% 0.152 17.1) |
| XYZ | xyz(11.9562, 6.5627, 3.2214) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.98
Red Wine
#8C0034
ΔE00 4.38
Wine Red
#7B0323
ΔE00 4.45
Cranberry
#9E003A
ΔE00 4.59
Rouge
#AB1239
ΔE00 5.60
Bordeaux
#7B002C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E172E #178E77
analogous
#8E176A #8E172E #8E3B17
triadic
#8E172E #2E8E17 #172E8E
tetradic
#8E172E #6A8E17 #178E77 #3B178E
square
#8E172E #6A8E17 #178E77 #3B178E
split-complementary
#8E172E #178E3B #176A8E
monochromatic
#25060C #590E1D #8E172E #C3203F #E03F5E
Accessibility & contrast
On white
9.08
#8E172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E172E
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E172E | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#59512A
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e172e; /* rgb */ color: rgb(142, 23, 46); /* oklch */ color: oklch(42.3% 0.152 17.1);
Tailwind
colors: {
custom: {
50: '#b66266',
500: '#8e172e',
950: '#000000',
},
}SCSS
$custom: #8e172e; $custom-light: #b66266; $custom-dark: #000000;
JSON
{
"hex": "#8e172e",
"rgb": {
"r": 142,
"g": 23,
"b": 46
},
"hsl": {
"h": 348.403,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42251,
"c": 0.15215,
"h": 17.1
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#8E172E
secondary
#40C0A8
accent
#EFCC39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A