#871F1F#871F1F
#871F1F is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 25.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #871F1F |
|---|---|
| RGB | rgb(135, 31, 31) |
| HSL | hsl(0, 63%, 33%) |
| HSV | hsv(0, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 77%, 47.1%) |
| CIE-LAB | lab(29.99, 43.42, 27.11) |
| CIE-LCH | lch(29.99, 51.19, 31.98°) |
| OKLab | oklab(41.32% 0.1256 0.0607) |
| OKLCH | oklch(41.32% 0.14 25.8) |
| XYZ | xyz(10.7302, 6.2315, 1.9339) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.67
Carmine
#9D0216
ΔE00 4.69
Indian Red
#850E04
ΔE00 5.58
Burgundy
#800020
ΔE00 5.63
Dark Red
#840000
ΔE00 5.82
Maroon
#800000
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F1F #1F8787
analogous
#871F53 #871F1F #87531F
triadic
#871F1F #1F871F #1F1F87
tetradic
#871F1F #53871F #1F8787 #531F87
square
#871F1F #53871F #1F8787 #531F87
split-complementary
#871F1F #1F8753 #1F5387
monochromatic
#230808 #551414 #871F1F #B92A2A #D64B4B
Accessibility & contrast
On white
9.35
#871F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#871F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F1F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F1F | 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)
#3E381E
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f1f; /* rgb */ color: rgb(135, 31, 31); /* oklch */ color: oklch(41.3% 0.140 25.8);
Tailwind
colors: {
custom: {
50: '#b2645b',
500: '#871f1f',
950: '#000000',
},
}SCSS
$custom: #871f1f; $custom-light: #b2645b; $custom-dark: #000000;
JSON
{
"hex": "#871f1f",
"rgb": {
"r": 135,
"g": 31,
"b": 31
},
"hsl": {
"h": 0,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41322,
"c": 0.13953,
"h": 25.8
},
"luminance": 0.0623
}Semantic roles & 50–950 ramp
primary
#871F1F
secondary
#4AB8B8
accent
#E6E642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79