#871B1B#871B1B
#871B1B is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.143 H 26.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #871B1B |
|---|---|
| RGB | rgb(135, 27, 27) |
| HSL | hsl(0, 67%, 32%) |
| HSV | hsv(0, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 80%, 47.1%) |
| CIE-LAB | lab(29.45, 44.63, 28.97) |
| CIE-LCH | lch(29.45, 53.20, 32.99°) |
| OKLab | oklab(40.91% 0.1285 0.0636) |
| OKLCH | oklch(40.91% 0.143 26.3) |
| XYZ | xyz(10.5827, 6.0156, 1.6406) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.81
Carmine
#9D0216
ΔE00 4.31
Indian Red
#850E04
ΔE00 4.72
Dark Red
#840000
ΔE00 4.92
Maroon
#800000
ΔE00 4.95
Darkred
#8B0000
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B1B #1B8787
analogous
#871B51 #871B1B #87511B
triadic
#871B1B #1B871B #1B1B87
tetradic
#871B1B #51871B #1B8787 #511B87
square
#871B1B #51871B #1B8787 #511B87
split-complementary
#871B1B #1B8751 #1B5187
monochromatic
#210707 #541111 #871B1B #BA2525 #D94343
Accessibility & contrast
On white
9.53
#871B1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#871B1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B1B
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B1B | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D361A
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #871b1b; /* rgb */ color: rgb(135, 27, 27); /* oklch */ color: oklch(40.9% 0.143 26.3);
Tailwind
colors: {
custom: {
50: '#b26258',
500: '#871b1b',
950: '#000000',
},
}SCSS
$custom: #871b1b; $custom-light: #b26258; $custom-dark: #000000;
JSON
{
"hex": "#871b1b",
"rgb": {
"r": 135,
"g": 27,
"b": 27
},
"hsl": {
"h": 0,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.40907,
"c": 0.1434,
"h": 26.3
},
"luminance": 0.06014
}Semantic roles & 50–950 ramp
primary
#871B1B
secondary
#44BABA
accent
#EAEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78