#87221F#87221F
#87221F is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.6% C 0.137 H 26.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #87221F |
|---|---|
| RGB | rgb(135, 34, 31) |
| HSL | hsl(2, 63%, 33%) |
| HSV | hsv(2, 77%, 53%) |
| CMYK | cmyk(0%, 74.8%, 77%, 47.1%) |
| CIE-LAB | lab(30.39, 42.32, 27.55) |
| CIE-LCH | lch(30.39, 50.50, 33.07°) |
| OKLab | oklab(41.62% 0.1221 0.0617) |
| OKLCH | oklch(41.62% 0.137 26.8) |
| XYZ | xyz(10.8123, 6.3955, 1.9612) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.77
Carmine
#9D0216
ΔE00 4.72
Indian Red
#850E04
ΔE00 5.29
Dark Red
#840000
ΔE00 5.68
Maroon
#800000
ΔE00 5.74
Darkred
#8B0000
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87221F #1F8487
analogous
#871F50 #87221F #87561F
triadic
#87221F #1F8722 #221F87
tetradic
#87221F #50871F #1F8487 #561F87
square
#87221F #50871F #1F8487 #561F87
split-complementary
#87221F #1F8756 #1F5087
monochromatic
#230908 #551514 #87221F #B92F2A #D64F4B
Accessibility & contrast
On white
9.22
#87221F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#87221F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87221F
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87221F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87221F | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403A1E
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #87221f; /* rgb */ color: rgb(135, 34, 31); /* oklch */ color: oklch(41.6% 0.137 26.8);
Tailwind
colors: {
custom: {
50: '#b2655b',
500: '#87221f',
950: '#000000',
},
}SCSS
$custom: #87221f; $custom-light: #b2655b; $custom-dark: #000000;
JSON
{
"hex": "#87221f",
"rgb": {
"r": 135,
"g": 34,
"b": 31
},
"hsl": {
"h": 1.731,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.4162,
"c": 0.13681,
"h": 26.8
},
"luminance": 0.06394
}Semantic roles & 50–950 ramp
primary
#87221F
secondary
#4AB5B8
accent
#E1E642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79