#871A1C#871A1C
#871A1C is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.144 H 25.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #871A1C |
|---|---|
| RGB | rgb(135, 26, 28) |
| HSL | hsl(359, 68%, 32%) |
| HSV | hsv(359, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 79.3%, 47.1%) |
| CIE-LAB | lab(29.35, 44.99, 28.25) |
| CIE-LCH | lch(29.35, 53.12, 32.13°) |
| OKLab | oklab(40.84% 0.1299 0.0623) |
| OKLCH | oklch(40.84% 0.144 25.6) |
| XYZ | xyz(10.5719, 5.9752, 1.6951) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.00
Carmine
#9D0216
ΔE00 4.41
Indian Red
#850E04
ΔE00 5.14
Maroon
#800000
ΔE00 5.27
Dark Red
#840000
ΔE00 5.27
Burgundy
#800020
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A1C #1A8785
analogous
#871A53 #871A1C #874F1A
triadic
#871A1C #1C871A #1A1C87
tetradic
#871A1C #53871A #1A8785 #4F1A87
square
#871A1C #53871A #1A8785 #4F1A87
split-complementary
#871A1C #1A874F #1A5387
monochromatic
#200607 #541011 #871A1C #BA2427 #DA4144
Accessibility & contrast
On white
9.57
#871A1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#871A1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A1C
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A1C | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C361B
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #871a1c; /* rgb */ color: rgb(135, 26, 28); /* oklch */ color: oklch(40.8% 0.144 25.6);
Tailwind
colors: {
custom: {
50: '#b26258',
500: '#871a1c',
950: '#000000',
},
}SCSS
$custom: #871a1c; $custom-light: #b26258; $custom-dark: #000000;
JSON
{
"hex": "#871a1c",
"rgb": {
"r": 135,
"g": 26,
"b": 28
},
"hsl": {
"h": 358.899,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.40835,
"c": 0.14408,
"h": 25.6
},
"luminance": 0.05974
}Semantic roles & 50–950 ramp
primary
#871A1C
secondary
#42BAB8
accent
#EBE73D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78