#87223A#87223A

#87223A is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.136 H 11.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#87223A
RGBrgb(135, 34, 58)
HSLhsl(346, 60%, 33%)
HSVhsv(346, 75%, 53%)
CMYKcmyk(0%, 74.8%, 57%, 47.1%)
CIE-LABlab(30.88, 43.98, 10.77)
CIE-LCHlch(30.88, 45.28, 13.77°)
OKLaboklab(42.15% 0.1331 0.0271)
OKLCHoklch(42.15% 0.136 11.5)
XYZxyz(11.3285, 6.6020, 4.6800)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87223A #22876F
analogous
#87226C #87223A #873D22
triadic
#87223A #3A8722 #223A87
tetradic
#87223A #6C8722 #22876F #3D2287
square
#87223A #6C8722 #22876F #3D2287
split-complementary
#87223A #22873D #226C87
monochromatic
#250910 #561625 #87223A #B82E4F #D3506F

Accessibility & contrast

On white

9.05
#87223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#87223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87223A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87223A#FFFFFF#000000##FFFFFF
##87223A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3A
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#94072C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87223a;
/* rgb */ color: rgb(135, 34, 58);
/* oklch */ color: oklch(42.1% 0.136 11.5);
Tailwind
colors: {
  custom: {
    50: '#b0666f',
    500: '#87223a',
    950: '#000000',
  },
}
SCSS
$custom: #87223a;
$custom-light: #b0666f;
$custom-dark: #000000;
JSON
{
  "hex": "#87223a",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 345.743,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42147,
    "c": 0.13579,
    "h": 11.5
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#87223A
secondary
#4EB79E
accent
#E3BD45
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #87223A

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

Preview Lab → · Contrast checker → · Palette generator →

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