#871F1B#871F1B
#871F1B is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 27.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #871F1B |
|---|---|
| RGB | rgb(135, 31, 27) |
| HSL | hsl(2, 67%, 32%) |
| HSV | hsv(2, 80%, 53%) |
| CMYK | cmyk(0%, 77%, 80%, 47.1%) |
| CIE-LAB | lab(29.94, 43.26, 29.48) |
| CIE-LCH | lch(29.94, 52.35, 34.27°) |
| OKLab | oklab(41.27% 0.1242 0.0647) |
| OKLCH | oklch(41.27% 0.14 27.5) |
| XYZ | xyz(10.6808, 6.2117, 1.6733) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.04
Indian Red
#850E04
ΔE00 4.36
Carmine
#9D0216
ΔE00 4.40
Dark Red
#840000
ΔE00 4.75
Maroon
#800000
ΔE00 4.85
Darkred
#8B0000
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F1B #1B8387
analogous
#871B4D #871F1B #87551B
triadic
#871F1B #1B871F #1F1B87
tetradic
#871F1B #4D871B #1B8387 #551B87
square
#871F1B #4D871B #1B8387 #551B87
split-complementary
#871F1B #1B8755 #1B4D87
monochromatic
#210807 #541311 #871F1B #BA2B25 #D94943
Accessibility & contrast
On white
9.37
#871F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F1B
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F1B | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3819
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871f1b; /* rgb */ color: rgb(135, 31, 27); /* oklch */ color: oklch(41.3% 0.140 27.5);
Tailwind
colors: {
custom: {
50: '#b26458',
500: '#871f1b',
950: '#000000',
},
}SCSS
$custom: #871f1b; $custom-light: #b26458; $custom-dark: #000000;
JSON
{
"hex": "#871f1b",
"rgb": {
"r": 135,
"g": 31,
"b": 27
},
"hsl": {
"h": 2.222,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.4127,
"c": 0.14008,
"h": 27.5
},
"luminance": 0.0621
}Semantic roles & 50–950 ramp
primary
#871F1B
secondary
#44B6BA
accent
#E3EA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78