#87221C#87221C

#87221C is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.6% C 0.137 H 28.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#87221C
RGBrgb(135, 34, 28)
HSLhsl(3, 66%, 32%)
HSVhsv(3, 79%, 53%)
CMYKcmyk(0%, 74.8%, 79.3%, 47.1%)
CIE-LABlab(30.35, 42.19, 29.33)
CIE-LCHlch(30.35, 51.38, 34.80°)
OKLaboklab(41.58% 0.1211 0.0647)
OKLCHoklch(41.58% 0.137 28.1)
XYZxyz(10.7746, 6.3805, 1.7626)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87221C #1C8187
analogous
#871C4C #87221C #87571C
triadic
#87221C #1C8722 #221C87
tetradic
#87221C #4C871C #1C8187 #571C87
square
#87221C #4C871C #1C8187 #571C87
split-complementary
#87221C #1C8757 #1C4C87
monochromatic
#220807 #541511 #87221C #BA2F27 #D84D45

Accessibility & contrast

On white

9.23
#87221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#87221C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87221C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87221C#FFFFFF#000000##FFFFFF
##87221C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391A
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #87221c;
/* rgb */ color: rgb(135, 34, 28);
/* oklch */ color: oklch(41.6% 0.137 28.1);
Tailwind
colors: {
  custom: {
    50: '#b26559',
    500: '#87221c',
    950: '#000000',
  },
}
SCSS
$custom: #87221c;
$custom-light: #b26559;
$custom-dark: #000000;
JSON
{
  "hex": "#87221c",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 3.364,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.13726,
    "h": 28.1
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#87221C
secondary
#45B3BA
accent
#DFE93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87221C

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

Preview Lab → · Contrast checker → · Palette generator →

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