#87221F#87221F

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

Color values

HEX#87221F
RGBrgb(135, 34, 31)
HSLhsl(2, 63%, 33%)
HSVhsv(2, 77%, 53%)
CMYKcmyk(0%, 74.8%, 77%, 47.1%)
CIE-LABlab(30.39, 42.32, 27.55)
CIE-LCHlch(30.39, 50.50, 33.07°)
OKLaboklab(41.62% 0.1221 0.0617)
OKLCHoklch(41.62% 0.137 26.8)
XYZxyz(10.8123, 6.3955, 1.9612)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87221F #1F8487
analogous
#871F50 #87221F #87561F
triadic
#87221F #1F8722 #221F87
tetradic
#87221F #50871F #1F8487 #561F87
square
#87221F #50871F #1F8487 #561F87
split-complementary
#87221F #1F8756 #1F5087
monochromatic
#230908 #551514 #87221F #B92F2A #D64F4B

Accessibility & contrast

On white

9.22
#87221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87221F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87221F#FFFFFF#000000##FFFFFF
##87221F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1E
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87221f;
/* rgb */ color: rgb(135, 34, 31);
/* oklch */ color: oklch(41.6% 0.137 26.8);
Tailwind
colors: {
  custom: {
    50: '#b2655b',
    500: '#87221f',
    950: '#000000',
  },
}
SCSS
$custom: #87221f;
$custom-light: #b2655b;
$custom-dark: #000000;
JSON
{
  "hex": "#87221f",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.13681,
    "h": 26.8
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#87221F
secondary
#4AB5B8
accent
#E1E642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87221F

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

Preview Lab → · Contrast checker → · Palette generator →

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