#8D172F#8D172F
#8D172F is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 16.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D172F |
|---|---|
| RGB | rgb(141, 23, 47) |
| HSL | hsl(348, 72%, 32%) |
| HSV | hsv(348, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 66.7%, 44.7%) |
| CIE-LAB | lab(30.60, 48.61, 17.87) |
| CIE-LCH | lch(30.60, 51.79, 20.18°) |
| OKLab | oklab(42.08% 0.1451 0.0427) |
| OKLCH | oklch(42.08% 0.151 16.4) |
| XYZ | xyz(11.8053, 6.4826, 3.3184) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.92
Burgundy
#800020
ΔE00 4.04
Wine Red
#7B0323
ΔE00 4.29
Cranberry
#9E003A
ΔE00 4.36
Bordeaux
#7B002C
ΔE00 5.42
Rouge
#AB1239
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D172F #178D75
analogous
#8D176A #8D172F #8D3A17
triadic
#8D172F #2F8D17 #172F8D
tetradic
#8D172F #6A8D17 #178D75 #3A178D
square
#8D172F #6A8D17 #178D75 #3A178D
split-complementary
#8D172F #178D3A #176A8D
monochromatic
#24060C #580E1D #8D172F #C22041 #E03F5F
Accessibility & contrast
On white
9.15
#8D172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8D172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D172F
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D172F | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#58512C
Tritanopia (blue-blind)
#9B0022
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8d172f; /* rgb */ color: rgb(141, 23, 47); /* oklch */ color: oklch(42.1% 0.151 16.4);
Tailwind
colors: {
custom: {
50: '#b66267',
500: '#8d172f',
950: '#000000',
},
}SCSS
$custom: #8d172f; $custom-light: #b66267; $custom-dark: #000000;
JSON
{
"hex": "#8d172f",
"rgb": {
"r": 141,
"g": 23,
"b": 47
},
"hsl": {
"h": 347.797,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.42079,
"c": 0.15122,
"h": 16.4
},
"luminance": 0.06481
}Semantic roles & 50–950 ramp
primary
#8D172F
secondary
#40C0A6
accent
#EFCA39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A