#87223B#87223B

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

Color values

HEX#87223B
RGBrgb(135, 34, 59)
HSLhsl(345, 60%, 33%)
HSVhsv(345, 75%, 53%)
CMYKcmyk(0%, 74.8%, 56.3%, 47.1%)
CIE-LABlab(30.91, 44.06, 10.15)
CIE-LCHlch(30.91, 45.22, 12.97°)
OKLaboklab(42.17% 0.1335 0.0256)
OKLCHoklch(42.17% 0.136 10.9)
XYZxyz(11.3542, 6.6123, 4.8152)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87223B #22876E
analogous
#87226D #87223B #873C22
triadic
#87223B #3B8722 #223B87
tetradic
#87223B #6D8722 #22876E #3C2287
square
#87223B #6D8722 #22876E #3C2287
split-complementary
#87223B #22873C #226D87
monochromatic
#250910 #561626 #87223B #B82E50 #D35071

Accessibility & contrast

On white

9.04
#87223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87223B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87223B#FFFFFF#000000##FFFFFF
##87223B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3B
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#94082C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87223b;
/* rgb */ color: rgb(135, 34, 59);
/* oklch */ color: oklch(42.2% 0.136 10.9);
Tailwind
colors: {
  custom: {
    50: '#b06670',
    500: '#87223b',
    950: '#000000',
  },
}
SCSS
$custom: #87223b;
$custom-light: #b06670;
$custom-dark: #000000;
JSON
{
  "hex": "#87223b",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 345.149,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42173,
    "c": 0.13591,
    "h": 10.9
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#87223B
secondary
#4EB79D
accent
#E3BC45
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #87223B

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

Preview Lab → · Contrast checker → · Palette generator →

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