#871A1F#871A1F
#871A1F is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.144 H 24.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #871A1F |
|---|---|
| RGB | rgb(135, 26, 31) |
| HSL | hsl(357, 68%, 32%) |
| HSV | hsv(357, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 77%, 47.1%) |
| CIE-LAB | lab(29.39, 45.11, 26.44) |
| CIE-LCH | lch(29.39, 52.28, 30.37°) |
| OKLab | oklab(40.88% 0.131 0.0592) |
| OKLCH | oklch(40.88% 0.144 24.3) |
| XYZ | xyz(10.6096, 5.9903, 1.8937) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.78
Burgundy
#800020
ΔE00 4.62
Carmine
#9D0216
ΔE00 4.85
Indian Red
#850E04
ΔE00 6.14
Wine Red
#7B0323
ΔE00 6.14
Maroon
#800000
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A1F #1A8782
analogous
#871A56 #871A1F #874C1A
triadic
#871A1F #1F871A #1A1F87
tetradic
#871A1F #56871A #1A8782 #4C1A87
square
#871A1F #56871A #1A8782 #4C1A87
split-complementary
#871A1F #1A874C #1A5687
monochromatic
#200607 #541013 #871A1F #BA242B #DA4148
Accessibility & contrast
On white
9.56
#871A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#871A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A1F
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A1F | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C361E
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #871a1f; /* rgb */ color: rgb(135, 26, 31); /* oklch */ color: oklch(40.9% 0.144 24.3);
Tailwind
colors: {
custom: {
50: '#b2625b',
500: '#871a1f',
950: '#000000',
},
}SCSS
$custom: #871a1f; $custom-light: #b2625b; $custom-dark: #000000;
JSON
{
"hex": "#871a1f",
"rgb": {
"r": 135,
"g": 26,
"b": 31
},
"hsl": {
"h": 357.248,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.40875,
"c": 0.14373,
"h": 24.3
},
"luminance": 0.05989
}Semantic roles & 50–950 ramp
primary
#871A1F
secondary
#42BAB5
accent
#EBE33D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79