#8C171A#8C171A
#8C171A is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.151 H 25.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8C171A |
|---|---|
| RGB | rgb(140, 23, 26) |
| HSL | hsl(358, 72%, 32%) |
| HSV | hsv(358, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 81.4%, 45.1%) |
| CIE-LAB | lab(30.07, 47.35, 30.54) |
| CIE-LCH | lch(30.07, 56.34, 32.82°) |
| OKLab | oklab(41.55% 0.1363 0.0663) |
| OKLCH | oklch(41.55% 0.152 25.9) |
| XYZ | xyz(11.3095, 6.2647, 1.5908) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.29
Carmine
#9D0216
ΔE00 3.30
Indian Red
#850E04
ΔE00 4.71
Darkred
#8B0000
ΔE00 4.86
Dark Red
#840000
ΔE00 4.87
Maroon
#800000
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C171A #178C89
analogous
#8C1754 #8C171A #8C4F17
triadic
#8C171A #1A8C17 #171A8C
tetradic
#8C171A #548C17 #178C89 #4F178C
square
#8C171A #548C17 #178C89 #4F178C
split-complementary
#8C171A #178C4F #17548C
monochromatic
#230606 #570E10 #8C171A #C12024 #DF3E42
Accessibility & contrast
On white
9.32
#8C171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#8C171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C171A
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C171A | 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)
#3D3719
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#9B001A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8c171a; /* rgb */ color: rgb(140, 23, 26); /* oklch */ color: oklch(41.5% 0.151 25.9);
Tailwind
colors: {
custom: {
50: '#b66157',
500: '#8c171a',
950: '#000000',
},
}SCSS
$custom: #8c171a; $custom-light: #b66157; $custom-dark: #000000;
JSON
{
"hex": "#8c171a",
"rgb": {
"r": 140,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.462,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.41549,
"c": 0.1515,
"h": 25.9
},
"luminance": 0.06263
}Semantic roles & 50–950 ramp
primary
#8C171A
secondary
#3FBFBC
accent
#EFEA39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78