#871E1B#871E1B
#871E1B is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 27.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #871E1B |
|---|---|
| RGB | rgb(135, 30, 27) |
| HSL | hsl(2, 67%, 32%) |
| HSV | hsv(2, 80%, 53%) |
| CMYK | cmyk(0%, 77.8%, 80%, 47.1%) |
| CIE-LAB | lab(29.81, 43.62, 29.35) |
| CIE-LCH | lch(29.81, 52.57, 33.94°) |
| OKLab | oklab(41.18% 0.1253 0.0644) |
| OKLCH | oklch(41.18% 0.141 27.2) |
| XYZ | xyz(10.6550, 6.1603, 1.6647) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.96
Carmine
#9D0216
ΔE00 4.36
Indian Red
#850E04
ΔE00 4.44
Dark Red
#840000
ΔE00 4.78
Maroon
#800000
ΔE00 4.86
Darkred
#8B0000
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E1B #1B8487
analogous
#871B4E #871E1B #87541B
triadic
#871E1B #1B871E #1E1B87
tetradic
#871E1B #4E871B #1B8487 #541B87
square
#871E1B #4E871B #1B8487 #541B87
split-complementary
#871E1B #1B8754 #1B4E87
monochromatic
#210707 #541311 #871E1B #BA2925 #D94743
Accessibility & contrast
On white
9.41
#871E1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#871E1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E1B
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E1B | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3819
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871e1b; /* rgb */ color: rgb(135, 30, 27); /* oklch */ color: oklch(41.2% 0.141 27.2);
Tailwind
colors: {
custom: {
50: '#b26358',
500: '#871e1b',
950: '#000000',
},
}SCSS
$custom: #871e1b; $custom-light: #b26358; $custom-dark: #000000;
JSON
{
"hex": "#871e1b",
"rgb": {
"r": 135,
"g": 30,
"b": 27
},
"hsl": {
"h": 1.667,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41176,
"c": 0.14093,
"h": 27.2
},
"luminance": 0.06159
}Semantic roles & 50–950 ramp
primary
#871E1B
secondary
#44B7BA
accent
#E5EA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78