#871F20#871F20
#871F20 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.139 H 25.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #871F20 |
|---|---|
| RGB | rgb(135, 31, 32) |
| HSL | hsl(359, 63%, 33%) |
| HSV | hsv(359, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 76.3%, 47.1%) |
| CIE-LAB | lab(30.00, 43.47, 26.51) |
| CIE-LCH | lch(30.00, 50.91, 31.37°) |
| OKLab | oklab(41.34% 0.126 0.0596) |
| OKLCH | oklch(41.34% 0.139 25.3) |
| XYZ | xyz(10.7436, 6.2368, 2.0043) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.89
Carmine
#9D0216
ΔE00 4.82
Burgundy
#800020
ΔE00 5.37
Indian Red
#850E04
ΔE00 5.90
Maroon
#800000
ΔE00 6.12
Dark Red
#840000
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F20 #1F8786
analogous
#871F54 #871F20 #87521F
triadic
#871F20 #20871F #1F2087
tetradic
#871F20 #54871F #1F8786 #521F87
square
#871F20 #54871F #1F8786 #521F87
split-complementary
#871F20 #1F8752 #1F5487
monochromatic
#230808 #551414 #871F20 #B92A2C #D64B4C
Accessibility & contrast
On white
9.35
#871F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#871F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F20
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F20 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381F
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f20; /* rgb */ color: rgb(135, 31, 32); /* oklch */ color: oklch(41.3% 0.139 25.3);
Tailwind
colors: {
custom: {
50: '#b2645b',
500: '#871f20',
950: '#000000',
},
}SCSS
$custom: #871f20; $custom-light: #b2645b; $custom-dark: #000000;
JSON
{
"hex": "#871f20",
"rgb": {
"r": 135,
"g": 31,
"b": 32
},
"hsl": {
"h": 359.423,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41336,
"c": 0.1394,
"h": 25.3
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#871F20
secondary
#4AB8B7
accent
#E6E442
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79