#87223C#87223C

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

Color values

HEX#87223C
RGBrgb(135, 34, 60)
HSLhsl(345, 60%, 33%)
HSVhsv(345, 75%, 53%)
CMYKcmyk(0%, 74.8%, 55.6%, 47.1%)
CIE-LABlab(30.93, 44.14, 9.52)
CIE-LCHlch(30.93, 45.16, 12.17°)
OKLaboklab(42.2% 0.1339 0.0242)
OKLCHoklch(42.2% 0.136 10.2)
XYZxyz(11.3804, 6.6228, 4.9532)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87223C #22876D
analogous
#87226E #87223C #873A22
triadic
#87223C #3C8722 #223C87
tetradic
#87223C #6E8722 #22876D #3A2287
square
#87223C #6E8722 #22876D #3A2287
split-complementary
#87223C #22873A #226E87
monochromatic
#250911 #561626 #87223C #B82E52 #D35072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87223C#FFFFFF#000000##FFFFFF
##87223C1.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)
#3C3C3C
Deuteranopia (green-blind)
#565039
Tritanopia (blue-blind)
#94082D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87223c;
/* rgb */ color: rgb(135, 34, 60);
/* oklch */ color: oklch(42.2% 0.136 10.2);
Tailwind
colors: {
  custom: {
    50: '#af6671',
    500: '#87223c',
    950: '#000000',
  },
}
SCSS
$custom: #87223c;
$custom-light: #af6671;
$custom-dark: #000000;
JSON
{
  "hex": "#87223c",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 344.554,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.13604,
    "h": 10.2
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#87223C
secondary
#4EB79C
accent
#E3BA45
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #87223C

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

Preview Lab → · Contrast checker → · Palette generator →

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