#87311C#87311C

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

Color values

HEX#87311C
RGBrgb(135, 49, 28)
HSLhsl(12, 66%, 32%)
HSVhsv(12, 79%, 53%)
CMYKcmyk(0%, 63.7%, 79.3%, 47.1%)
CIE-LABlab(32.77, 35.63, 31.87)
CIE-LCHlch(32.77, 47.81, 41.81°)
OKLaboklab(43.4% 0.1006 0.0702)
OKLCHoklch(43.4% 0.123 34.9)
XYZxyz(11.3008, 7.4330, 1.9380)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87311C #1C7287
analogous
#871C3C #87311C #87671C
triadic
#87311C #1C8731 #311C87
tetradic
#87311C #3C871C #1C7287 #671C87
square
#87311C #3C871C #1C7287 #671C87
split-complementary
#87311C #1C8767 #1C3C87
monochromatic
#220C07 #541F11 #87311C #BA4327 #D86245

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87311C#FFFFFF#000000##FFFFFF
##87311C1.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)
#494119
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#951C2D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87311c;
/* rgb */ color: rgb(135, 49, 28);
/* oklch */ color: oklch(43.4% 0.123 34.9);
Tailwind
colors: {
  custom: {
    50: '#b16d59',
    500: '#87311c',
    950: '#000000',
  },
}
SCSS
$custom: #87311c;
$custom-light: #b16d59;
$custom-dark: #000000;
JSON
{
  "hex": "#87311c",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 11.776,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.12271,
    "h": 34.9
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#87311C
secondary
#45A3BA
accent
#C7E93F
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #87311C

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

Preview Lab → · Contrast checker → · Palette generator →

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