#87231B#87231B
#87231B is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.137 H 28.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #87231B |
|---|---|
| RGB | rgb(135, 35, 27) |
| HSL | hsl(4, 67%, 32%) |
| HSV | hsv(4, 80%, 53%) |
| CMYK | cmyk(0%, 74.1%, 80%, 47.1%) |
| CIE-LAB | lab(30.48, 41.76, 30.05) |
| CIE-LCH | lch(30.48, 51.45, 35.74°) |
| OKLab | oklab(41.67% 0.1195 0.066) |
| OKLCH | oklch(41.67% 0.137 28.9) |
| XYZ | xyz(10.7918, 6.4338, 1.7103) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.56
Indian Red
#850E04
ΔE00 4.14
Red Brown
#8B2E16
ΔE00 4.54
Carmine
#9D0216
ΔE00 4.71
Darkred
#8B0000
ΔE00 4.75
Dark Red
#840000
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87231B #1B7F87
analogous
#871B49 #87231B #87591B
triadic
#87231B #1B8723 #231B87
tetradic
#87231B #49871B #1B7F87 #591B87
square
#87231B #49871B #1B7F87 #591B87
split-complementary
#87231B #1B8759 #1B4987
monochromatic
#210907 #541611 #87231B #BA3025 #D94E43
Accessibility & contrast
On white
9.18
#87231B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#87231B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87231B
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87231B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87231B | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #87231b; /* rgb */ color: rgb(135, 35, 27); /* oklch */ color: oklch(41.7% 0.137 28.9);
Tailwind
colors: {
custom: {
50: '#b26558',
500: '#87231b',
950: '#000000',
},
}SCSS
$custom: #87231b; $custom-light: #b26558; $custom-dark: #000000;
JSON
{
"hex": "#87231b",
"rgb": {
"r": 135,
"g": 35,
"b": 27
},
"hsl": {
"h": 4.444,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41674,
"c": 0.13651,
"h": 28.9
},
"luminance": 0.06432
}Semantic roles & 50–950 ramp
primary
#87231B
secondary
#44B1BA
accent
#DDEA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78