#8D172A#8D172A
#8D172A is a dark, vivid red. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 19.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8D172A |
|---|---|
| RGB | rgb(141, 23, 42) |
| HSL | hsl(350, 72%, 32%) |
| HSV | hsv(350, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 70.2%, 44.7%) |
| CIE-LAB | lab(30.51, 48.33, 21.03) |
| CIE-LCH | lch(30.51, 52.71, 23.51°) |
| OKLab | oklab(41.98% 0.143 0.0492) |
| OKLCH | oklch(41.98% 0.151 19) |
| XYZ | xyz(11.7102, 6.4445, 2.8174) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.53
Wine Red
#7B0323
ΔE00 4.48
Red Wine
#8C0034
ΔE00 5.57
Cranberry
#9E003A
ΔE00 5.77
Rouge
#AB1239
ΔE00 6.12
Bordeaux
#7B002C
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D172A #178D7A
analogous
#8D1765 #8D172A #8D3F17
triadic
#8D172A #2A8D17 #172A8D
tetradic
#8D172A #658D17 #178D7A #3F178D
square
#8D172A #658D17 #178D7A #3F178D
split-complementary
#8D172A #178D3F #17658D
monochromatic
#24060B #580E1A #8D172A #C2203A #E03F59
Accessibility & contrast
On white
9.18
#8D172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8D172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D172A
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D172A | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C382A
Deuteranopia (green-blind)
#595126
Tritanopia (blue-blind)
#9B0020
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8d172a; /* rgb */ color: rgb(141, 23, 42); /* oklch */ color: oklch(42.0% 0.151 19.0);
Tailwind
colors: {
custom: {
50: '#b66263',
500: '#8d172a',
950: '#000000',
},
}SCSS
$custom: #8d172a; $custom-light: #b66263; $custom-dark: #000000;
JSON
{
"hex": "#8d172a",
"rgb": {
"r": 141,
"g": 23,
"b": 42
},
"hsl": {
"h": 350.339,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.41982,
"c": 0.15124,
"h": 19
},
"luminance": 0.06443
}Semantic roles & 50–950 ramp
primary
#8D172A
secondary
#40C0AB
accent
#EFD139
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79