#871F1A#871F1A
#871F1A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 27.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #871F1A |
|---|---|
| RGB | rgb(135, 31, 26) |
| HSL | hsl(3, 68%, 32%) |
| HSV | hsv(3, 81%, 53%) |
| CMYK | cmyk(0%, 77%, 80.7%, 47.1%) |
| CIE-LAB | lab(29.93, 43.23, 30.06) |
| CIE-LCH | lch(29.93, 52.65, 34.82°) |
| OKLab | oklab(41.26% 0.1239 0.0657) |
| OKLCH | oklch(41.26% 0.14 27.9) |
| XYZ | xyz(10.6694, 6.2071, 1.6134) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.97
Indian Red
#850E04
ΔE00 4.07
Carmine
#9D0216
ΔE00 4.40
Dark Red
#840000
ΔE00 4.52
Darkred
#8B0000
ΔE00 4.61
Maroon
#800000
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F1A #1A8287
analogous
#871A4C #871F1A #87561A
triadic
#871F1A #1A871F #1F1A87
tetradic
#871F1A #4C871A #1A8287 #561A87
square
#871F1A #4C871A #1A8287 #561A87
split-complementary
#871F1A #1A8756 #1A4C87
monochromatic
#200706 #541310 #871F1A #BA2B24 #DA4841
Accessibility & contrast
On white
9.37
#871F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F1A
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F1A | 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)
#3F3818
Deuteranopia (green-blind)
#584F15
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871f1a; /* rgb */ color: rgb(135, 31, 26); /* oklch */ color: oklch(41.3% 0.140 27.9);
Tailwind
colors: {
custom: {
50: '#b26457',
500: '#871f1a',
950: '#000000',
},
}SCSS
$custom: #871f1a; $custom-light: #b26457; $custom-dark: #000000;
JSON
{
"hex": "#871f1a",
"rgb": {
"r": 135,
"g": 31,
"b": 26
},
"hsl": {
"h": 2.752,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.41258,
"c": 0.14022,
"h": 27.9
},
"luminance": 0.06205
}Semantic roles & 50–950 ramp
primary
#871F1A
secondary
#42B5BA
accent
#E3EB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78