#87231F#87231F
#87231F is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.7% C 0.136 H 27.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #87231F |
|---|---|
| RGB | rgb(135, 35, 31) |
| HSL | hsl(2, 63%, 33%) |
| HSV | hsv(2, 77%, 53%) |
| CMYK | cmyk(0%, 74.1%, 77%, 47.1%) |
| CIE-LAB | lab(30.53, 41.93, 27.71) |
| CIE-LCH | lch(30.53, 50.26, 33.46°) |
| OKLab | oklab(41.73% 0.1209 0.062) |
| OKLCH | oklch(41.73% 0.136 27.1) |
| XYZ | xyz(10.8413, 6.4535, 1.9709) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.84
Carmine
#9D0216
ΔE00 4.75
Indian Red
#850E04
ΔE00 5.21
Dark Red
#840000
ΔE00 5.64
Red Brown
#8B2E16
ΔE00 5.71
Maroon
#800000
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87231F #1F8387
analogous
#871F4F #87231F #87571F
triadic
#87231F #1F8723 #231F87
tetradic
#87231F #4F871F #1F8387 #571F87
square
#87231F #4F871F #1F8387 #571F87
split-complementary
#87231F #1F8757 #1F4F87
monochromatic
#230908 #551614 #87231F #B9302A #D6504B
Accessibility & contrast
On white
9.17
#87231F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#87231F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87231F
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87231F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87231F | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403A1E
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #87231f; /* rgb */ color: rgb(135, 35, 31); /* oklch */ color: oklch(41.7% 0.136 27.1);
Tailwind
colors: {
custom: {
50: '#b2665b',
500: '#87231f',
950: '#000000',
},
}SCSS
$custom: #87231f; $custom-light: #b2665b; $custom-dark: #000000;
JSON
{
"hex": "#87231f",
"rgb": {
"r": 135,
"g": 35,
"b": 31
},
"hsl": {
"h": 2.308,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41725,
"c": 0.13588,
"h": 27.1
},
"luminance": 0.06452
}Semantic roles & 50–950 ramp
primary
#87231F
secondary
#4AB4B8
accent
#DFE642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79