#8D171D#8D171D
#8D171D is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.152 H 24.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8D171D |
|---|---|
| RGB | rgb(141, 23, 29) |
| HSL | hsl(357, 72%, 32%) |
| HSV | hsv(357, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 79.4%, 44.7%) |
| CIE-LAB | lab(30.32, 47.75, 29.05) |
| CIE-LCH | lch(30.32, 55.90, 31.32°) |
| OKLab | oklab(41.78% 0.1381 0.0639) |
| OKLCH | oklch(41.78% 0.152 24.8) |
| XYZ | xyz(11.5141, 6.3661, 1.7847) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.97
Carmine
#9D0216
ΔE00 3.48
Burgundy
#800020
ΔE00 5.59
Indian Red
#850E04
ΔE00 5.61
Dark Red
#840000
ΔE00 5.71
Darkred
#8B0000
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D171D #178D87
analogous
#8D1758 #8D171D #8D4C17
triadic
#8D171D #1D8D17 #171D8D
tetradic
#8D171D #588D17 #178D87 #4C178D
square
#8D171D #588D17 #178D87 #4C178D
split-complementary
#8D171D #178D4C #17588D
monochromatic
#240607 #580E12 #8D171D #C22028 #E03F47
Accessibility & contrast
On white
9.24
#8D171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8D171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D171D
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D171D | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#9C001B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8d171d; /* rgb */ color: rgb(141, 23, 29); /* oklch */ color: oklch(41.8% 0.152 24.8);
Tailwind
colors: {
custom: {
50: '#b76259',
500: '#8d171d',
950: '#000000',
},
}SCSS
$custom: #8d171d; $custom-light: #b76259; $custom-dark: #000000;
JSON
{
"hex": "#8d171d",
"rgb": {
"r": 141,
"g": 23,
"b": 29
},
"hsl": {
"h": 356.949,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.41781,
"c": 0.15216,
"h": 24.8
},
"luminance": 0.06364
}Semantic roles & 50–950 ramp
primary
#8D171D
secondary
#40C0B9
accent
#EFE539
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78