#8C171D#8C171D
#8C171D is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.151 H 24.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8C171D |
|---|---|
| RGB | rgb(140, 23, 29) |
| HSL | hsl(357, 72%, 32%) |
| HSV | hsv(357, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 79.3%, 45.1%) |
| CIE-LAB | lab(30.11, 47.45, 28.76) |
| CIE-LCH | lch(30.11, 55.49, 31.22°) |
| OKLab | oklab(41.59% 0.1373 0.0634) |
| OKLCH | oklch(41.59% 0.151 24.8) |
| XYZ | xyz(11.3448, 6.2788, 1.7767) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.99
Carmine
#9D0216
ΔE00 3.67
Burgundy
#800020
ΔE00 5.42
Indian Red
#850E04
ΔE00 5.62
Dark Red
#840000
ΔE00 5.71
Darkred
#8B0000
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C171D #178C86
analogous
#8C1758 #8C171D #8C4C17
triadic
#8C171D #1D8C17 #171D8C
tetradic
#8C171D #588C17 #178C86 #4C178C
square
#8C171D #588C17 #178C86 #4C178C
split-complementary
#8C171D #178C4C #17588C
monochromatic
#230607 #570E12 #8C171D #C12028 #DF3E46
Accessibility & contrast
On white
9.31
#8C171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#8C171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C171D
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C171D | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#9B001B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8c171d; /* rgb */ color: rgb(140, 23, 29); /* oklch */ color: oklch(41.6% 0.151 24.8);
Tailwind
colors: {
custom: {
50: '#b66159',
500: '#8c171d',
950: '#000000',
},
}SCSS
$custom: #8c171d; $custom-light: #b66159; $custom-dark: #000000;
JSON
{
"hex": "#8c171d",
"rgb": {
"r": 140,
"g": 23,
"b": 29
},
"hsl": {
"h": 356.923,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.41586,
"c": 0.15118,
"h": 24.8
},
"luminance": 0.06277
}Semantic roles & 50–950 ramp
primary
#8C171D
secondary
#3FBFB9
accent
#EFE539
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78