#87221E#87221E

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

Color values

HEX#87221E
RGBrgb(135, 34, 30)
HSLhsl(2, 64%, 32%)
HSVhsv(2, 78%, 53%)
CMYKcmyk(0%, 74.8%, 77.8%, 47.1%)
CIE-LABlab(30.38, 42.27, 28.15)
CIE-LCHlch(30.38, 50.79, 33.66°)
OKLaboklab(41.61% 0.1218 0.0627)
OKLCHoklch(41.61% 0.137 27.2)
XYZxyz(10.7993, 6.3903, 1.8929)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87221E #1E8387
analogous
#871E4E #87221E #87571E
triadic
#87221E #1E8722 #221E87
tetradic
#87221E #4E871E #1E8387 #571E87
square
#87221E #4E871E #1E8387 #571E87
split-complementary
#87221E #1E8757 #1E4E87
monochromatic
#230908 #551513 #87221E #B92F29 #D74E49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87221E#FFFFFF#000000##FFFFFF
##87221E1.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)
#40391D
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #87221e;
/* rgb */ color: rgb(135, 34, 30);
/* oklch */ color: oklch(41.6% 0.137 27.2);
Tailwind
colors: {
  custom: {
    50: '#b2655a',
    500: '#87221e',
    950: '#000000',
  },
}
SCSS
$custom: #87221e;
$custom-light: #b2655a;
$custom-dark: #000000;
JSON
{
  "hex": "#87221e",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 2.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41607,
    "c": 0.13696,
    "h": 27.2
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#87221E
secondary
#48B4B9
accent
#E0E741
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87221E

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

Preview Lab → · Contrast checker → · Palette generator →

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