#871C1F#871C1F
#871C1F is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.0% C 0.142 H 24.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #871C1F |
|---|---|
| RGB | rgb(135, 28, 31) |
| HSL | hsl(358, 66%, 32%) |
| HSV | hsv(358, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 77%, 47.1%) |
| CIE-LAB | lab(29.62, 44.46, 26.70) |
| CIE-LCH | lch(29.62, 51.86, 30.98°) |
| OKLab | oklab(41.05% 0.1289 0.0598) |
| OKLCH | oklch(41.05% 0.142 24.9) |
| XYZ | xyz(10.6555, 6.0820, 1.9089) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.70
Carmine
#9D0216
ΔE00 4.76
Burgundy
#800020
ΔE00 5.01
Indian Red
#850E04
ΔE00 5.91
Maroon
#800000
ΔE00 6.01
Dark Red
#840000
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C1F #1C8784
analogous
#871C55 #871C1F #874F1C
triadic
#871C1F #1F871C #1C1F87
tetradic
#871C1F #55871C #1C8784 #4F1C87
square
#871C1F #55871C #1C8784 #4F1C87
split-complementary
#871C1F #1C874F #1C5587
monochromatic
#220708 #541113 #871C1F #BA272B #D84549
Accessibility & contrast
On white
9.48
#871C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#871C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C1F
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C1F | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871c1f; /* rgb */ color: rgb(135, 28, 31); /* oklch */ color: oklch(41.0% 0.142 24.9);
Tailwind
colors: {
custom: {
50: '#b2635b',
500: '#871c1f',
950: '#000000',
},
}SCSS
$custom: #871c1f; $custom-light: #b2635b; $custom-dark: #000000;
JSON
{
"hex": "#871c1f",
"rgb": {
"r": 135,
"g": 28,
"b": 31
},
"hsl": {
"h": 358.318,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.41046,
"c": 0.1421,
"h": 24.9
},
"luminance": 0.0608
}Semantic roles & 50–950 ramp
primary
#871C1F
secondary
#45BAB7
accent
#E9E43F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79