#87311E#87311E

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

Color values

HEX#87311E
RGBrgb(135, 49, 30)
HSLhsl(11, 64%, 32%)
HSVhsv(11, 78%, 53%)
CMYKcmyk(0%, 63.7%, 77.8%, 47.1%)
CIE-LABlab(32.79, 35.72, 30.76)
CIE-LCHlch(32.79, 47.14, 40.74°)
OKLaboklab(43.42% 0.1013 0.0684)
OKLCHoklch(43.42% 0.122 34)
XYZxyz(11.3255, 7.4428, 2.0683)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87311E #1E7487
analogous
#871E40 #87311E #87651E
triadic
#87311E #1E8731 #311E87
tetradic
#87311E #40871E #1E7487 #651E87
square
#87311E #40871E #1E7487 #651E87
split-complementary
#87311E #1E8765 #1E4087
monochromatic
#230D08 #551F13 #87311E #B94329 #D76349

Accessibility & contrast

On white

8.44
#87311E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87311E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87311E#FFFFFF#000000##FFFFFF
##87311E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411B
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#951C2D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87311e;
/* rgb */ color: rgb(135, 49, 30);
/* oklch */ color: oklch(43.4% 0.122 34.0);
Tailwind
colors: {
  custom: {
    50: '#b16d5b',
    500: '#87311e',
    950: '#000000',
  },
}
SCSS
$custom: #87311e;
$custom-light: #b16d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#87311e",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 10.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.12222,
    "h": 34
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#87311E
secondary
#48A4B9
accent
#C9E741
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #87311E

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

Preview Lab → · Contrast checker → · Palette generator →

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