#87371F#87371F

#87371F is a dark, moderate red. Relative luminance 0.080; OKLCH L 44.3% C 0.116 H 37.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#87371F
RGBrgb(135, 55, 31)
HSLhsl(14, 63%, 33%)
HSVhsv(14, 77%, 53%)
CMYKcmyk(0%, 59.3%, 77%, 47.1%)
CIE-LABlab(33.95, 32.76, 31.43)
CIE-LCHlch(33.95, 45.40, 43.81°)
OKLaboklab(44.3% 0.0924 0.0701)
OKLCHoklch(44.3% 0.116 37.2)
XYZxyz(11.6064, 7.9838, 2.2259)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87371F #1F6F87
analogous
#871F3B #87371F #876B1F
triadic
#87371F #1F8737 #371F87
tetradic
#87371F #3B871F #1F6F87 #6B1F87
square
#87371F #3B871F #1F6F87 #6B1F87
split-complementary
#87371F #1F876B #1F3B87
monochromatic
#230E08 #552314 #87371F #B94B2A #D66B4B

Accessibility & contrast

On white

8.09
#87371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#87371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87371F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87371F#FFFFFF#000000##FFFFFF
##87371F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#952532
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87371f;
/* rgb */ color: rgb(135, 55, 31);
/* oklch */ color: oklch(44.3% 0.116 37.2);
Tailwind
colors: {
  custom: {
    50: '#b0715c',
    500: '#87371f',
    950: '#000000',
  },
}
SCSS
$custom: #87371f;
$custom-light: #b0715c;
$custom-dark: #000000;
JSON
{
  "hex": "#87371f",
  "rgb": {
    "r": 135,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 13.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44298,
    "c": 0.11593,
    "h": 37.2
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#87371F
secondary
#4A9FB8
accent
#C0E642
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120804
muted
#817B79

Preview Lab

Preview with #87371F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#87371F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva