#87311B#87311B

#87311B is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.4% C 0.123 H 35.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#87311B
RGBrgb(135, 49, 27)
HSLhsl(12, 67%, 32%)
HSVhsv(12, 80%, 53%)
CMYKcmyk(0%, 63.7%, 80%, 47.1%)
CIE-LABlab(32.76, 35.59, 32.42)
CIE-LCHlch(32.76, 48.14, 42.33°)
OKLaboklab(43.39% 0.1003 0.0711)
OKLCHoklch(43.39% 0.123 35.3)
XYZxyz(11.2890, 7.4282, 1.8760)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87311B #1B7187
analogous
#871B3B #87311B #87671B
triadic
#87311B #1B8731 #311B87
tetradic
#87311B #3B871B #1B7187 #671B87
square
#87311B #3B871B #1B7187 #671B87
split-complementary
#87311B #1B8767 #1B3B87
monochromatic
#210C07 #541E11 #87311B #BA4425 #D96243

Accessibility & contrast

On white

8.45
#87311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#87311B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87311B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87311B#FFFFFF#000000##FFFFFF
##87311B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#951B2D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87311b;
/* rgb */ color: rgb(135, 49, 27);
/* oklch */ color: oklch(43.4% 0.123 35.3);
Tailwind
colors: {
  custom: {
    50: '#b16d59',
    500: '#87311b',
    950: '#000000',
  },
}
SCSS
$custom: #87311b;
$custom-light: #b16d59;
$custom-dark: #000000;
JSON
{
  "hex": "#87311b",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 12.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43387,
    "c": 0.12296,
    "h": 35.3
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#87311B
secondary
#44A2BA
accent
#C7EA3E
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #87311B

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

Preview Lab → · Contrast checker → · Palette generator →

#87311B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva