#8D172D#8D172D
#8D172D is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.151 H 17.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8D172D |
|---|---|
| RGB | rgb(141, 23, 45) |
| HSL | hsl(349, 72%, 32%) |
| HSV | hsv(349, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 68.1%, 44.7%) |
| CIE-LAB | lab(30.56, 48.50, 19.14) |
| CIE-LCH | lch(30.56, 52.14, 21.53°) |
| OKLab | oklab(42.04% 0.1442 0.0454) |
| OKLCH | oklch(42.04% 0.151 17.5) |
| XYZ | xyz(11.7659, 6.4668, 3.1108) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.74
Wine Red
#7B0323
ΔE00 4.28
Red Wine
#8C0034
ΔE00 4.57
Cranberry
#9E003A
ΔE00 4.89
Rouge
#AB1239
ΔE00 5.83
Bordeaux
#7B002C
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D172D #178D77
analogous
#8D1768 #8D172D #8D3C17
triadic
#8D172D #2D8D17 #172D8D
tetradic
#8D172D #688D17 #178D77 #3C178D
square
#8D172D #688D17 #178D77 #3C178D
split-complementary
#8D172D #178D3C #17688D
monochromatic
#24060B #580E1C #8D172D #C2203E #E03F5D
Accessibility & contrast
On white
9.16
#8D172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8D172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D172D
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D172D | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#595129
Tritanopia (blue-blind)
#9B0021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8d172d; /* rgb */ color: rgb(141, 23, 45); /* oklch */ color: oklch(42.0% 0.151 17.5);
Tailwind
colors: {
custom: {
50: '#b66265',
500: '#8d172d',
950: '#000000',
},
}SCSS
$custom: #8d172d; $custom-light: #b66265; $custom-dark: #000000;
JSON
{
"hex": "#8d172d",
"rgb": {
"r": 141,
"g": 23,
"b": 45
},
"hsl": {
"h": 348.814,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.42038,
"c": 0.1512,
"h": 17.5
},
"luminance": 0.06465
}Semantic roles & 50–950 ramp
primary
#8D172D
secondary
#40C0A8
accent
#EFCD39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A