#871E1F#871E1F
#871E1F is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.140 H 25.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #871E1F |
|---|---|
| RGB | rgb(135, 30, 31) |
| HSL | hsl(359, 64%, 32%) |
| HSV | hsv(359, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 77%, 47.1%) |
| CIE-LAB | lab(29.86, 43.78, 26.97) |
| CIE-LCH | lch(29.86, 51.42, 31.63°) |
| OKLab | oklab(41.23% 0.1268 0.0604) |
| OKLCH | oklch(41.23% 0.14 25.5) |
| XYZ | xyz(10.7045, 6.1800, 1.9253) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.67
Carmine
#9D0216
ΔE00 4.70
Burgundy
#800020
ΔE00 5.42
Indian Red
#850E04
ΔE00 5.69
Dark Red
#840000
ΔE00 5.89
Maroon
#800000
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E1F #1E8786
analogous
#871E53 #871E1F #87521E
triadic
#871E1F #1F871E #1E1F87
tetradic
#871E1F #53871E #1E8786 #521E87
square
#871E1F #53871E #1E8786 #521E87
split-complementary
#871E1F #1E8752 #1E5387
monochromatic
#230808 #551314 #871E1F #B9292A #D7494A
Accessibility & contrast
On white
9.39
#871E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E1F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E1F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871e1f; /* rgb */ color: rgb(135, 30, 31); /* oklch */ color: oklch(41.2% 0.140 25.5);
Tailwind
colors: {
custom: {
50: '#b2635b',
500: '#871e1f',
950: '#000000',
},
}SCSS
$custom: #871e1f; $custom-light: #b2635b; $custom-dark: #000000;
JSON
{
"hex": "#871e1f",
"rgb": {
"r": 135,
"g": 30,
"b": 31
},
"hsl": {
"h": 359.429,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.41228,
"c": 0.1404,
"h": 25.5
},
"luminance": 0.06178
}Semantic roles & 50–950 ramp
primary
#871E1F
secondary
#48B9B8
accent
#E7E541
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79