#87165E#87165E

#87165E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.161 H 347.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#87165E
RGBrgb(135, 22, 94)
HSLhsl(322, 72%, 31%)
HSVhsv(322, 84%, 53%)
CMYKcmyk(0%, 83.7%, 30.4%, 47.1%)
CIE-LABlab(30.72, 51.51, -13.16)
CIE-LCHlch(30.72, 53.17, 345.67°)
OKLaboklab(42.42% 0.1573 -0.0347)
OKLCHoklch(42.42% 0.161 347.6)
XYZxyz(12.2996, 6.5343, 11.2010)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87165E #16873F
analogous
#771687 #87165E #871625
triadic
#87165E #5E8716 #165E87
tetradic
#87165E #877716 #16873F #162587
square
#87165E #877716 #16873F #162587
split-complementary
#87165E #258716 #168777
monochromatic
#1E0515 #520D39 #87165E #BC1F83 #DF39A2

Accessibility & contrast

On white

9.10
#87165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#87165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87165E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87165E#FFFFFF#000000##FFFFFF
##87165E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C60
Deuteranopia (green-blind)
#4B4F5C
Tritanopia (blue-blind)
#911039
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87165e;
/* rgb */ color: rgb(135, 22, 94);
/* oklch */ color: oklch(42.4% 0.161 347.6);
Tailwind
colors: {
  custom: {
    50: '#ae628b',
    500: '#87165e',
    950: '#000000',
  },
}
SCSS
$custom: #87165e;
$custom-light: #ae628b;
$custom-dark: #000000;
JSON
{
  "hex": "#87165e",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 321.77,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.1611,
    "h": 347.6
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#87165E
secondary
#3EBB6B
accent
#EF7B39
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #87165E

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

Preview Lab → · Contrast checker → · Palette generator →

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