#871F17#871F17
#871F17 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 29.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #871F17 |
|---|---|
| RGB | rgb(135, 31, 23) |
| HSL | hsl(4, 71%, 31%) |
| HSV | hsv(4, 83%, 53%) |
| CMYK | cmyk(0%, 77%, 83%, 47.1%) |
| CIE-LAB | lab(29.90, 43.12, 31.77) |
| CIE-LCH | lch(29.90, 53.56, 36.38°) |
| OKLab | oklab(41.23% 0.1229 0.0684) |
| OKLCH | oklch(41.23% 0.141 29.1) |
| XYZ | xyz(10.6376, 6.1944, 1.4460) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.97
Indian Red
#850E04
ΔE00 3.30
Dark Red
#840000
ΔE00 3.91
Darkred
#8B0000
ΔE00 3.91
Maroon
#800000
ΔE00 4.12
Brick Red
#8F1402
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F17 #177F87
analogous
#871747 #871F17 #875717
triadic
#871F17 #17871F #1F1787
tetradic
#871F17 #478717 #177F87 #571787
square
#871F17 #478717 #177F87 #571787
split-complementary
#871F17 #178757 #174787
monochromatic
#1E0705 #53130E #871F17 #BB2B20 #DE463B
Accessibility & contrast
On white
9.38
#871F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F17
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F17 | 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)
#3F3815
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871f17; /* rgb */ color: rgb(135, 31, 23); /* oklch */ color: oklch(41.2% 0.141 29.1);
Tailwind
colors: {
custom: {
50: '#b26455',
500: '#871f17',
950: '#000000',
},
}SCSS
$custom: #871f17; $custom-light: #b26455; $custom-dark: #000000;
JSON
{
"hex": "#871f17",
"rgb": {
"r": 135,
"g": 31,
"b": 23
},
"hsl": {
"h": 4.286,
"s": 70.886,
"l": 30.98
},
"oklch": {
"l": 0.41225,
"c": 0.14066,
"h": 29.1
},
"luminance": 0.06193
}Semantic roles & 50–950 ramp
primary
#871F17
secondary
#3FB2BB
accent
#E1EE3A
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#120603
muted
#817A78