#8D172E#8D172E
#8D172E is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 16.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D172E |
|---|---|
| RGB | rgb(141, 23, 46) |
| HSL | hsl(348, 72%, 32%) |
| HSV | hsv(348, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 67.4%, 44.7%) |
| CIE-LAB | lab(30.58, 48.55, 18.50) |
| CIE-LCH | lch(30.58, 51.96, 20.86°) |
| OKLab | oklab(42.06% 0.1446 0.0441) |
| OKLCH | oklch(42.06% 0.151 16.9) |
| XYZ | xyz(11.7854, 6.4746, 3.2134) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.88
Red Wine
#8C0034
ΔE00 4.24
Wine Red
#7B0323
ΔE00 4.27
Cranberry
#9E003A
ΔE00 4.62
Bordeaux
#7B002C
ΔE00 5.63
Rouge
#AB1239
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D172E #178D76
analogous
#8D1769 #8D172E #8D3B17
triadic
#8D172E #2E8D17 #172E8D
tetradic
#8D172E #698D17 #178D76 #3B178D
square
#8D172E #698D17 #178D76 #3B178D
split-complementary
#8D172E #178D3B #17698D
monochromatic
#24060C #580E1D #8D172E #C2203F #E03F5E
Accessibility & contrast
On white
9.15
#8D172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8D172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D172E
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D172E | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B382E
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#9B0021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8d172e; /* rgb */ color: rgb(141, 23, 46); /* oklch */ color: oklch(42.1% 0.151 16.9);
Tailwind
colors: {
custom: {
50: '#b66266',
500: '#8d172e',
950: '#000000',
},
}SCSS
$custom: #8d172e; $custom-light: #b66266; $custom-dark: #000000;
JSON
{
"hex": "#8d172e",
"rgb": {
"r": 141,
"g": 23,
"b": 46
},
"hsl": {
"h": 348.305,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.42058,
"c": 0.1512,
"h": 16.9
},
"luminance": 0.06473
}Semantic roles & 50–950 ramp
primary
#8D172E
secondary
#40C0A7
accent
#EFCB39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A