#87222B#87222B

#87222B is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.136 H 20.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#87222B
RGBrgb(135, 34, 43)
HSLhsl(355, 60%, 33%)
HSVhsv(355, 75%, 53%)
CMYKcmyk(0%, 74.8%, 68.1%, 47.1%)
CIE-LABlab(30.57, 42.93, 20.19)
CIE-LCHlch(30.57, 47.44, 25.19°)
OKLaboklab(41.81% 0.1268 0.0477)
OKLCHoklch(41.81% 0.136 20.6)
XYZxyz(11.0009, 6.4710, 2.9548)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87222B #22877E
analogous
#87225E #87222B #874B22
triadic
#87222B #2B8722 #222B87
tetradic
#87222B #5E8722 #22877E #4B2287
square
#87222B #5E8722 #22877E #4B2287
split-complementary
#87222B #22874B #225E87
monochromatic
#25090C #56161B #87222B #B82E3B #D3505C

Accessibility & contrast

On white

9.16
#87222B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#87222B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87222B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87222B#FFFFFF#000000##FFFFFF
##87222B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2B
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#950026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87222b;
/* rgb */ color: rgb(135, 34, 43);
/* oklch */ color: oklch(41.8% 0.136 20.6);
Tailwind
colors: {
  custom: {
    50: '#b16564',
    500: '#87222b',
    950: '#000000',
  },
}
SCSS
$custom: #87222b;
$custom-light: #b16564;
$custom-dark: #000000;
JSON
{
  "hex": "#87222b",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 43
  },
  "hsl": {
    "h": 354.653,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.1355,
    "h": 20.6
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#87222B
secondary
#4EB7AD
accent
#E3D545
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #87222B

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

Preview Lab → · Contrast checker → · Palette generator →

#87222B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva