#8B171E#8B171E
#8B171E is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 24.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8B171E |
|---|---|
| RGB | rgb(139, 23, 30) |
| HSL | hsl(356, 72%, 32%) |
| HSV | hsv(356, 83%, 55%) |
| CMYK | cmyk(0%, 83.5%, 78.4%, 45.5%) |
| CIE-LAB | lab(29.90, 47.19, 27.87) |
| CIE-LCH | lch(29.90, 54.80, 30.57°) |
| OKLab | oklab(41.4% 0.1368 0.0618) |
| OKLCH | oklch(41.4% 0.15 24.3) |
| XYZ | xyz(11.1896, 6.1973, 1.8351) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.32
Carmine
#9D0216
ΔE00 4.04
Burgundy
#800020
ΔE00 5.00
Indian Red
#850E04
ΔE00 5.96
Dark Red
#840000
ΔE00 6.01
Maroon
#800000
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B171E #178B84
analogous
#8B1758 #8B171E #8B4A17
triadic
#8B171E #1E8B17 #171E8B
tetradic
#8B171E #588B17 #178B84 #4A178B
square
#8B171E #588B17 #178B84 #4A178B
split-complementary
#8B171E #178B4A #17588B
monochromatic
#220607 #560E13 #8B171E #C02029 #DF3D47
Accessibility & contrast
On white
9.38
#8B171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#8B171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B171E
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B171E | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C371D
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#9A001B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8b171e; /* rgb */ color: rgb(139, 23, 30); /* oklch */ color: oklch(41.4% 0.150 24.3);
Tailwind
colors: {
custom: {
50: '#b5615a',
500: '#8b171e',
950: '#000000',
},
}SCSS
$custom: #8b171e; $custom-light: #b5615a; $custom-dark: #000000;
JSON
{
"hex": "#8b171e",
"rgb": {
"r": 139,
"g": 23,
"b": 30
},
"hsl": {
"h": 356.379,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.41404,
"c": 0.15009,
"h": 24.3
},
"luminance": 0.06195
}Semantic roles & 50–950 ramp
primary
#8B171E
secondary
#3FBFB7
accent
#EEE339
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78