#87311D#87311D

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

Color values

HEX#87311D
RGBrgb(135, 49, 29)
HSLhsl(11, 65%, 32%)
HSVhsv(11, 79%, 53%)
CMYKcmyk(0%, 63.7%, 78.5%, 47.1%)
CIE-LABlab(32.78, 35.68, 31.32)
CIE-LCHlch(32.78, 47.48, 41.28°)
OKLaboklab(43.41% 0.101 0.0693)
OKLCHoklch(43.41% 0.122 34.5)
XYZxyz(11.3130, 7.4378, 2.0021)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87311D #1D7387
analogous
#871D3E #87311D #87661D
triadic
#87311D #1D8731 #311D87
tetradic
#87311D #3E871D #1D7387 #661D87
square
#87311D #3E871D #1D7387 #661D87
split-complementary
#87311D #1D8766 #1D3E87
monochromatic
#220C07 #551F12 #87311D #B94328 #D76247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87311D#FFFFFF#000000##FFFFFF
##87311D1.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)
#49411A
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#951C2D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87311d;
/* rgb */ color: rgb(135, 49, 29);
/* oklch */ color: oklch(43.4% 0.122 34.5);
Tailwind
colors: {
  custom: {
    50: '#b16d5a',
    500: '#87311d',
    950: '#000000',
  },
}
SCSS
$custom: #87311d;
$custom-light: #b16d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#87311d",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 11.321,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.12246,
    "h": 34.5
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#87311D
secondary
#46A4B9
accent
#C8E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #87311D

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

Preview Lab → · Contrast checker → · Palette generator →

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