#8D171F#8D171F
#8D171F is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.152 H 24.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8D171F |
|---|---|
| RGB | rgb(141, 23, 31) |
| HSL | hsl(356, 72%, 32%) |
| HSV | hsv(356, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 78%, 44.7%) |
| CIE-LAB | lab(30.34, 47.83, 27.85) |
| CIE-LCH | lch(30.34, 55.35, 30.21°) |
| OKLab | oklab(41.81% 0.1388 0.0619) |
| OKLCH | oklch(41.81% 0.152 24) |
| XYZ | xyz(11.5396, 6.3763, 1.9192) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.51
Carmine
#9D0216
ΔE00 3.86
Burgundy
#800020
ΔE00 5.09
Brown
#A52A2A
ΔE00 5.95
Indian Red
#850E04
ΔE00 6.24
Dark Red
#840000
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D171F #178D85
analogous
#8D175A #8D171F #8D4A17
triadic
#8D171F #1F8D17 #171F8D
tetradic
#8D171F #5A8D17 #178D85 #4A178D
square
#8D171F #5A8D17 #178D85 #4A178D
split-complementary
#8D171F #178D4A #175A8D
monochromatic
#240608 #580E13 #8D171F #C2202B #E03F4A
Accessibility & contrast
On white
9.23
#8D171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8D171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D171F
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D171F | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#9C001C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8d171f; /* rgb */ color: rgb(141, 23, 31); /* oklch */ color: oklch(41.8% 0.152 24.0);
Tailwind
colors: {
custom: {
50: '#b7625b',
500: '#8d171f',
950: '#000000',
},
}SCSS
$custom: #8d171f; $custom-light: #b7625b; $custom-dark: #000000;
JSON
{
"hex": "#8d171f",
"rgb": {
"r": 141,
"g": 23,
"b": 31
},
"hsl": {
"h": 355.932,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.41807,
"c": 0.15196,
"h": 24
},
"luminance": 0.06374
}Semantic roles & 50–950 ramp
primary
#8D171F
secondary
#40C0B7
accent
#EFE239
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79