#87311A#87311A

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

Color values

HEX#87311A
RGBrgb(135, 49, 26)
HSLhsl(13, 68%, 32%)
HSVhsv(13, 81%, 53%)
CMYKcmyk(0%, 63.7%, 80.7%, 47.1%)
CIE-LABlab(32.75, 35.55, 32.96)
CIE-LCHlch(32.75, 48.48, 42.83°)
OKLaboklab(43.38% 0.1 0.072)
OKLCHoklch(43.38% 0.123 35.7)
XYZxyz(11.2777, 7.4237, 1.8162)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87311A #1A7087
analogous
#871A39 #87311A #87681A
triadic
#87311A #1A8731 #311A87
tetradic
#87311A #39871A #1A7087 #681A87
square
#87311A #39871A #1A7087 #681A87
split-complementary
#87311A #1A8768 #1A3987
monochromatic
#200C06 #541E10 #87311A #BA4424 #DA6141

Accessibility & contrast

On white

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

On black

2.48
#87311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##87311A#FFFFFF#000000##FFFFFF
##87311A1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#951B2C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87311a;
/* rgb */ color: rgb(135, 49, 26);
/* oklch */ color: oklch(43.4% 0.123 35.7);
Tailwind
colors: {
  custom: {
    50: '#b16d58',
    500: '#87311a',
    950: '#000000',
  },
}
SCSS
$custom: #87311a;
$custom-light: #b16d58;
$custom-dark: #000000;
JSON
{
  "hex": "#87311a",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 12.661,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43376,
    "c": 0.1232,
    "h": 35.7
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#87311A
secondary
#42A1BA
accent
#C6EB3D
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #87311A

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

Preview Lab → · Contrast checker → · Palette generator →

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