#8E172A#8E172A
#8E172A is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.2% C 0.152 H 19.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8E172A |
|---|---|
| RGB | rgb(142, 23, 42) |
| HSL | hsl(350, 72%, 32%) |
| HSV | hsv(350, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 70.4%, 44.3%) |
| CIE-LAB | lab(30.72, 48.63, 21.34) |
| CIE-LCH | lch(30.72, 53.10, 23.69°) |
| OKLab | oklab(42.18% 0.1438 0.0499) |
| OKLCH | oklch(42.18% 0.152 19.1) |
| XYZ | xyz(11.8810, 6.5326, 2.8254) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.69
Wine Red
#7B0323
ΔE00 4.68
Red Wine
#8C0034
ΔE00 5.71
Cranberry
#9E003A
ΔE00 5.77
Rouge
#AB1239
ΔE00 5.98
Bordeaux
#7B002C
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E172A #178E7B
analogous
#8E1766 #8E172A #8E3F17
triadic
#8E172A #2A8E17 #172A8E
tetradic
#8E172A #668E17 #178E7B #3F178E
square
#8E172A #668E17 #178E7B #3F178E
split-complementary
#8E172A #178E3F #17668E
monochromatic
#25060B #590E1A #8E172A #C3203A #E03F59
Accessibility & contrast
On white
9.11
#8E172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E172A
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E172A | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C382A
Deuteranopia (green-blind)
#5A5126
Tritanopia (blue-blind)
#9D0020
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e172a; /* rgb */ color: rgb(142, 23, 42); /* oklch */ color: oklch(42.2% 0.152 19.1);
Tailwind
colors: {
custom: {
50: '#b76263',
500: '#8e172a',
950: '#000000',
},
}SCSS
$custom: #8e172a; $custom-light: #b76263; $custom-dark: #000000;
JSON
{
"hex": "#8e172a",
"rgb": {
"r": 142,
"g": 23,
"b": 42
},
"hsl": {
"h": 350.42,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42175,
"c": 0.1522,
"h": 19.1
},
"luminance": 0.06531
}Semantic roles & 50–950 ramp
primary
#8E172A
secondary
#40C0AC
accent
#EFD239
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79