#871A23#871A23
#871A23 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.143 H 22.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #871A23 |
|---|---|
| RGB | rgb(135, 26, 35) |
| HSL | hsl(355, 68%, 32%) |
| HSV | hsv(355, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 74.1%, 47.1%) |
| CIE-LAB | lab(29.44, 45.29, 23.97) |
| CIE-LCH | lch(29.44, 51.24, 27.89°) |
| OKLab | oklab(40.94% 0.1325 0.0548) |
| OKLCH | oklch(40.94% 0.143 22.5) |
| XYZ | xyz(10.6657, 6.0127, 2.1888) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.65
Crimson (survey)
#8C000F
ΔE00 5.00
Wine Red
#7B0323
ΔE00 5.05
Carmine
#9D0216
ΔE00 5.73
Brown
#A52A2A
ΔE00 7.15
Blood
#770001
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A23 #1A877E
analogous
#871A5A #871A23 #87481A
triadic
#871A23 #23871A #1A2387
tetradic
#871A23 #5A871A #1A877E #481A87
square
#871A23 #5A871A #1A877E #481A87
split-complementary
#871A23 #1A8748 #1A5A87
monochromatic
#200608 #541016 #871A23 #BA2430 #DA414E
Accessibility & contrast
On white
9.54
#871A23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#871A23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A23
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A23 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3622
Deuteranopia (green-blind)
#564E1F
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #871a23; /* rgb */ color: rgb(135, 26, 35); /* oklch */ color: oklch(40.9% 0.143 22.5);
Tailwind
colors: {
custom: {
50: '#b2625e',
500: '#871a23',
950: '#000000',
},
}SCSS
$custom: #871a23; $custom-light: #b2625e; $custom-dark: #000000;
JSON
{
"hex": "#871a23",
"rgb": {
"r": 135,
"g": 26,
"b": 35
},
"hsl": {
"h": 355.046,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.40935,
"c": 0.14335,
"h": 22.5
},
"luminance": 0.06011
}Semantic roles & 50–950 ramp
primary
#871A23
secondary
#42BAB0
accent
#EBDC3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79