#87165F#87165F

#87165F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.162 H 347.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#87165F
RGBrgb(135, 22, 95)
HSLhsl(321, 72%, 31%)
HSVhsv(321, 84%, 53%)
CMYKcmyk(0%, 83.7%, 29.6%, 47.1%)
CIE-LABlab(30.77, 51.64, -13.74)
CIE-LCHlch(30.77, 53.43, 345.10°)
OKLaboklab(42.47% 0.1575 -0.0363)
OKLCHoklch(42.47% 0.162 347)
XYZxyz(12.3448, 6.5524, 11.4389)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87165F #16873E
analogous
#761687 #87165F #871626
triadic
#87165F #5F8716 #165F87
tetradic
#87165F #877616 #16873E #162687
square
#87165F #877616 #16873E #162687
split-complementary
#87165F #268716 #168776
monochromatic
#1E0515 #520D3A #87165F #BC1F84 #DF39A4

Accessibility & contrast

On white

9.09
#87165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87165F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87165F#FFFFFF#000000##FFFFFF
##87165F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87165f;
/* rgb */ color: rgb(135, 22, 95);
/* oklch */ color: oklch(42.5% 0.162 347.0);
Tailwind
colors: {
  custom: {
    50: '#ae628c',
    500: '#87165f',
    950: '#000000',
  },
}
SCSS
$custom: #87165f;
$custom-light: #ae628c;
$custom-dark: #000000;
JSON
{
  "hex": "#87165f",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 321.239,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.16166,
    "h": 347
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#87165F
secondary
#3EBB6A
accent
#EF7939
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #87165F

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

Preview Lab → · Contrast checker → · Palette generator →

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