#87165A#87165A

#87165A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.159 H 349.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#87165A
RGBrgb(135, 22, 90)
HSLhsl(324, 72%, 31%)
HSVhsv(324, 84%, 53%)
CMYKcmyk(0%, 83.7%, 33.3%, 47.1%)
CIE-LABlab(30.56, 51.03, -10.80)
CIE-LCHlch(30.56, 52.16, 348.05°)
OKLaboklab(42.24% 0.1564 -0.0282)
OKLCHoklch(42.24% 0.159 349.8)
XYZxyz(12.1248, 6.4644, 10.2801)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87165A #168743
analogous
#7B1687 #87165A #871621
triadic
#87165A #5A8716 #165A87
tetradic
#87165A #877B16 #168743 #162187
square
#87165A #877B16 #168743 #162187
split-complementary
#87165A #218716 #16877B
monochromatic
#1E0514 #520D37 #87165A #BC1F7D #DF399D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87165A#FFFFFF#000000##FFFFFF
##87165A1.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)
#2B3B5C
Deuteranopia (green-blind)
#4C4F58
Tritanopia (blue-blind)
#920C37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87165a;
/* rgb */ color: rgb(135, 22, 90);
/* oklch */ color: oklch(42.2% 0.159 349.8);
Tailwind
colors: {
  custom: {
    50: '#ae6288',
    500: '#87165a',
    950: '#000000',
  },
}
SCSS
$custom: #87165a;
$custom-light: #ae6288;
$custom-dark: #000000;
JSON
{
  "hex": "#87165a",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 323.894,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.15891,
    "h": 349.8
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#87165A
secondary
#3EBB70
accent
#EF8139
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #87165A

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

Preview Lab → · Contrast checker → · Palette generator →

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