#8C171C#8C171C
#8C171C is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.151 H 25.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8C171C |
|---|---|
| RGB | rgb(140, 23, 28) |
| HSL | hsl(357, 72%, 32%) |
| HSV | hsv(357, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 80%, 45.1%) |
| CIE-LAB | lab(30.09, 47.42, 29.36) |
| CIE-LCH | lch(30.09, 55.77, 31.77°) |
| OKLab | oklab(41.57% 0.1369 0.0643) |
| OKLCH | oklch(41.57% 0.151 25.2) |
| XYZ | xyz(11.3326, 6.2739, 1.7127) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.74
Carmine
#9D0216
ΔE00 3.52
Indian Red
#850E04
ΔE00 5.31
Dark Red
#840000
ΔE00 5.42
Darkred
#8B0000
ΔE00 5.47
Maroon
#800000
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C171C #178C87
analogous
#8C1757 #8C171C #8C4D17
triadic
#8C171C #1C8C17 #171C8C
tetradic
#8C171C #578C17 #178C87 #4D178C
square
#8C171C #578C17 #178C87 #4D178C
split-complementary
#8C171C #178C4D #17578C
monochromatic
#230607 #570E11 #8C171C #C12027 #DF3E45
Accessibility & contrast
On white
9.32
#8C171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#8C171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C171C
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C171C | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371B
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#9B001B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8c171c; /* rgb */ color: rgb(140, 23, 28); /* oklch */ color: oklch(41.6% 0.151 25.2);
Tailwind
colors: {
custom: {
50: '#b66158',
500: '#8c171c',
950: '#000000',
},
}SCSS
$custom: #8c171c; $custom-light: #b66158; $custom-dark: #000000;
JSON
{
"hex": "#8c171c",
"rgb": {
"r": 140,
"g": 23,
"b": 28
},
"hsl": {
"h": 357.436,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.41573,
"c": 0.15128,
"h": 25.2
},
"luminance": 0.06272
}Semantic roles & 50–950 ramp
primary
#8C171C
secondary
#3FBFBA
accent
#EFE739
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78