#871C17#871C17
#871C17 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.143 H 28.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #871C17 |
|---|---|
| RGB | rgb(135, 28, 23) |
| HSL | hsl(3, 71%, 31%) |
| HSV | hsv(3, 83%, 53%) |
| CMYK | cmyk(0%, 79.3%, 83%, 47.1%) |
| CIE-LAB | lab(29.53, 44.16, 31.40) |
| CIE-LCH | lch(29.53, 54.19, 35.42°) |
| OKLab | oklab(40.95% 0.1262 0.0676) |
| OKLCH | oklch(40.95% 0.143 28.2) |
| XYZ | xyz(10.5629, 6.0450, 1.4211) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.51
Indian Red
#850E04
ΔE00 3.45
Dark Red
#840000
ΔE00 3.87
Darkred
#8B0000
ΔE00 3.97
Maroon
#800000
ΔE00 4.03
Carmine
#9D0216
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C17 #178287
analogous
#87174A #871C17 #875417
triadic
#871C17 #17871C #1C1787
tetradic
#871C17 #4A8717 #178287 #541787
square
#871C17 #4A8717 #178287 #541787
split-complementary
#871C17 #178754 #174A87
monochromatic
#1E0605 #53110E #871C17 #BB2720 #DE423B
Accessibility & contrast
On white
9.51
#871C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#871C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C17
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C17 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3715
Deuteranopia (green-blind)
#584E12
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871c17; /* rgb */ color: rgb(135, 28, 23); /* oklch */ color: oklch(40.9% 0.143 28.2);
Tailwind
colors: {
custom: {
50: '#b36255',
500: '#871c17',
950: '#000000',
},
}SCSS
$custom: #871c17; $custom-light: #b36255; $custom-dark: #000000;
JSON
{
"hex": "#871c17",
"rgb": {
"r": 135,
"g": 28,
"b": 23
},
"hsl": {
"h": 2.679,
"s": 70.886,
"l": 30.98
},
"oklch": {
"l": 0.40948,
"c": 0.14312,
"h": 28.2
},
"luminance": 0.06043
}Semantic roles & 50–950 ramp
primary
#871C17
secondary
#3FB5BB
accent
#E6EE3A
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78