#8D171C#8D171C
#8D171C is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.152 H 25.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8D171C |
|---|---|
| RGB | rgb(141, 23, 28) |
| HSL | hsl(357, 72%, 32%) |
| HSV | hsv(357, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 80.1%, 44.7%) |
| CIE-LAB | lab(30.31, 47.72, 29.65) |
| CIE-LCH | lch(30.31, 56.18, 31.85°) |
| OKLab | oklab(41.77% 0.1378 0.0649) |
| OKLCH | oklch(41.77% 0.152 25.2) |
| XYZ | xyz(11.5019, 6.3612, 1.7206) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.72
Carmine
#9D0216
ΔE00 3.33
Indian Red
#850E04
ΔE00 5.31
Darkred
#8B0000
ΔE00 5.42
Dark Red
#840000
ΔE00 5.43
Maroon
#800000
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D171C #178D88
analogous
#8D1757 #8D171C #8D4D17
triadic
#8D171C #1C8D17 #171C8D
tetradic
#8D171C #578D17 #178D88 #4D178D
square
#8D171C #578D17 #178D88 #4D178D
split-complementary
#8D171C #178D4D #17578D
monochromatic
#240607 #580E12 #8D171C #C22026 #E03F46
Accessibility & contrast
On white
9.24
#8D171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8D171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D171C
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D171C | 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)
#3D371B
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#9C001B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8d171c; /* rgb */ color: rgb(141, 23, 28); /* oklch */ color: oklch(41.8% 0.152 25.2);
Tailwind
colors: {
custom: {
50: '#b76258',
500: '#8d171c',
950: '#000000',
},
}SCSS
$custom: #8d171c; $custom-light: #b76258; $custom-dark: #000000;
JSON
{
"hex": "#8d171c",
"rgb": {
"r": 141,
"g": 23,
"b": 28
},
"hsl": {
"h": 357.458,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.41768,
"c": 0.15227,
"h": 25.2
},
"luminance": 0.06359
}Semantic roles & 50–950 ramp
primary
#8D171C
secondary
#40C0BA
accent
#EFE739
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78