#87223F#87223F

#87223F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.137 H 8.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#87223F
RGBrgb(135, 34, 63)
HSLhsl(343, 60%, 33%)
HSVhsv(343, 75%, 53%)
CMYKcmyk(0%, 74.8%, 53.3%, 47.1%)
CIE-LABlab(31.01, 44.40, 7.65)
CIE-LCHlch(31.01, 45.05, 9.77°)
OKLaboklab(42.28% 0.1351 0.0197)
OKLCHoklch(42.28% 0.137 8.3)
XYZxyz(11.4619, 6.6554, 5.3827)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87223F #22876A
analogous
#872271 #87223F #873722
triadic
#87223F #3F8722 #223F87
tetradic
#87223F #718722 #22876A #372287
square
#87223F #718722 #22876A #372287
split-complementary
#87223F #228737 #227187
monochromatic
#250911 #561628 #87223F #B82E56 #D35076

Accessibility & contrast

On white

9.01
#87223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#87223F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87223F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87223F#FFFFFF#000000##FFFFFF
##87223F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C40
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#940B2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87223f;
/* rgb */ color: rgb(135, 34, 63);
/* oklch */ color: oklch(42.3% 0.137 8.3);
Tailwind
colors: {
  custom: {
    50: '#af6673',
    500: '#87223f',
    950: '#000000',
  },
}
SCSS
$custom: #87223f;
$custom-light: #af6673;
$custom-dark: #000000;
JSON
{
  "hex": "#87223f",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 342.772,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.13652,
    "h": 8.3
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#87223F
secondary
#4EB799
accent
#E3B645
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #87223F

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

Preview Lab → · Contrast checker → · Palette generator →

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