#87222A#87222A

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

Color values

HEX#87222A
RGBrgb(135, 34, 42)
HSLhsl(355, 60%, 33%)
HSVhsv(355, 75%, 53%)
CMYKcmyk(0%, 74.8%, 68.9%, 47.1%)
CIE-LABlab(30.55, 42.87, 20.82)
CIE-LCHlch(30.55, 47.66, 25.90°)
OKLaboklab(41.8% 0.1264 0.049)
OKLCHoklch(41.8% 0.136 21.2)
XYZxyz(10.9828, 6.4638, 2.8594)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87222A #22877F
analogous
#87225C #87222A #874D22
triadic
#87222A #2A8722 #222A87
tetradic
#87222A #5C8722 #22877F #4D2287
square
#87222A #5C8722 #22877F #4D2287
split-complementary
#87222A #22874D #225C87
monochromatic
#25090C #56161B #87222A #B82E39 #D3505B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87222A#FFFFFF#000000##FFFFFF
##87222A1.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)
#3F3A29
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#950026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87222a;
/* rgb */ color: rgb(135, 34, 42);
/* oklch */ color: oklch(41.8% 0.136 21.2);
Tailwind
colors: {
  custom: {
    50: '#b16563',
    500: '#87222a',
    950: '#000000',
  },
}
SCSS
$custom: #87222a;
$custom-light: #b16563;
$custom-dark: #000000;
JSON
{
  "hex": "#87222a",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 355.248,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.13556,
    "h": 21.2
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#87222A
secondary
#4EB7AE
accent
#E3D645
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #87222A

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

Preview Lab → · Contrast checker → · Palette generator →

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