#87201F#87201F

#87201F is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.4% C 0.139 H 26.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#87201F
RGBrgb(135, 32, 31)
HSLhsl(1, 63%, 33%)
HSVhsv(1, 77%, 53%)
CMYKcmyk(0%, 76.3%, 77%, 47.1%)
CIE-LABlab(30.12, 43.06, 27.25)
CIE-LCHlch(30.12, 50.96, 32.33°)
OKLaboklab(41.42% 0.1245 0.061)
OKLCHoklch(41.42% 0.139 26.1)
XYZxyz(10.7568, 6.2845, 1.9427)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87201F #1F8687
analogous
#871F52 #87201F #87541F
triadic
#87201F #1F8720 #201F87
tetradic
#87201F #52871F #1F8687 #541F87
square
#87201F #52871F #1F8687 #541F87
split-complementary
#87201F #1F8754 #1F5287
monochromatic
#230808 #551414 #87201F #B92C2A #D64C4B

Accessibility & contrast

On white

9.31
#87201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#87201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87201F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87201F#FFFFFF#000000##FFFFFF
##87201F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #87201f;
/* rgb */ color: rgb(135, 32, 31);
/* oklch */ color: oklch(41.4% 0.139 26.1);
Tailwind
colors: {
  custom: {
    50: '#b2645b',
    500: '#87201f',
    950: '#000000',
  },
}
SCSS
$custom: #87201f;
$custom-light: #b2645b;
$custom-dark: #000000;
JSON
{
  "hex": "#87201f",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 0.577,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.13864,
    "h": 26.1
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#87201F
secondary
#4AB7B8
accent
#E4E642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87201F

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

Preview Lab → · Contrast checker → · Palette generator →

#87201F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva