#87221A#87221A

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

Color values

HEX#87221A
RGBrgb(135, 34, 26)
HSLhsl(4, 68%, 32%)
HSVhsv(4, 81%, 53%)
CMYKcmyk(0%, 74.8%, 80.7%, 47.1%)
CIE-LABlab(30.33, 42.11, 30.48)
CIE-LCHlch(30.33, 51.99, 35.90°)
OKLaboklab(41.56% 0.1204 0.0666)
OKLCHoklch(41.56% 0.138 28.9)
XYZxyz(10.7514, 6.3712, 1.6407)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87221A #1A7F87
analogous
#871A49 #87221A #87591A
triadic
#87221A #1A8722 #221A87
tetradic
#87221A #49871A #1A7F87 #591A87
square
#87221A #49871A #1A7F87 #591A87
split-complementary
#87221A #1A8759 #1A4987
monochromatic
#200806 #541510 #87221A #BA2F24 #DA4C41

Accessibility & contrast

On white

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

On black

2.27
#87221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##87221A#FFFFFF#000000##FFFFFF
##87221A1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #87221a;
/* rgb */ color: rgb(135, 34, 26);
/* oklch */ color: oklch(41.6% 0.138 28.9);
Tailwind
colors: {
  custom: {
    50: '#b26557',
    500: '#87221a',
    950: '#000000',
  },
}
SCSS
$custom: #87221a;
$custom-light: #b26557;
$custom-dark: #000000;
JSON
{
  "hex": "#87221a",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 4.404,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.13758,
    "h": 28.9
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#87221A
secondary
#42B2BA
accent
#DEEB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87221A

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

Preview Lab → · Contrast checker → · Palette generator →

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