#87251F#87251F
#87251F is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.134 H 27.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #87251F |
|---|---|
| RGB | rgb(135, 37, 31) |
| HSL | hsl(3, 63%, 33%) |
| HSV | hsv(3, 77%, 53%) |
| CMYK | cmyk(0%, 72.6%, 77%, 47.1%) |
| CIE-LAB | lab(30.82, 41.13, 28.03) |
| CIE-LCH | lch(30.82, 49.78, 34.27°) |
| OKLab | oklab(41.94% 0.1184 0.0627) |
| OKLCH | oklch(41.94% 0.134 27.9) |
| XYZ | xyz(10.9018, 6.5746, 1.9910) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.04
Carmine
#9D0216
ΔE00 4.88
Indian Red
#850E04
ΔE00 5.09
Red Brown
#8B2E16
ΔE00 5.21
Dark Red
#840000
ΔE00 5.62
Darkred
#8B0000
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87251F #1F8187
analogous
#871F4D #87251F #87591F
triadic
#87251F #1F8725 #251F87
tetradic
#87251F #4D871F #1F8187 #591F87
square
#87251F #4D871F #1F8187 #591F87
split-complementary
#87251F #1F8759 #1F4D87
monochromatic
#230A08 #551714 #87251F #B9332A #D6534B
Accessibility & contrast
On white
9.07
#87251F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#87251F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87251F
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87251F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87251F | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1D
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#950125
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #87251f; /* rgb */ color: rgb(135, 37, 31); /* oklch */ color: oklch(41.9% 0.134 27.9);
Tailwind
colors: {
custom: {
50: '#b1675b',
500: '#87251f',
950: '#000000',
},
}SCSS
$custom: #87251f; $custom-light: #b1675b; $custom-dark: #000000;
JSON
{
"hex": "#87251f",
"rgb": {
"r": 135,
"g": 37,
"b": 31
},
"hsl": {
"h": 3.462,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41941,
"c": 0.13398,
"h": 27.9
},
"luminance": 0.06573
}Semantic roles & 50–950 ramp
primary
#87251F
secondary
#4AB2B8
accent
#DCE642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79