#87186C#87186C

#87186C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.168 H 340.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#87186C
RGBrgb(135, 24, 108)
HSLhsl(315, 70%, 31%)
HSVhsv(315, 82%, 53%)
CMYKcmyk(0%, 82.2%, 20%, 47.1%)
CIE-LABlab(31.55, 52.82, -20.91)
CIE-LCHlch(31.55, 56.81, 338.40°)
OKLaboklab(43.23% 0.1581 -0.0565)
OKLCHoklch(43.23% 0.168 340.3)
XYZxyz(13.0255, 6.8882, 14.8280)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87186C #188733
analogous
#6A1887 #87186C #871834
triadic
#87186C #6C8718 #186C87
tetradic
#87186C #876A18 #188733 #183487
square
#87186C #876A18 #188733 #183487
split-complementary
#87186C #348718 #18876A
monochromatic
#1F0619 #530F42 #87186C #BB2196 #DC3DB6

Accessibility & contrast

On white

8.83
#87186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#87186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87186C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87186C#FFFFFF#000000##FFFFFF
##87186C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#47506A
Tritanopia (blue-blind)
#8F1C41
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87186c;
/* rgb */ color: rgb(135, 24, 108);
/* oklch */ color: oklch(43.2% 0.168 340.3);
Tailwind
colors: {
  custom: {
    50: '#ae6496',
    500: '#87186c',
    950: '#000000',
  },
}
SCSS
$custom: #87186c;
$custom-light: #ae6496;
$custom-dark: #000000;
JSON
{
  "hex": "#87186c",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 314.595,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.16785,
    "h": 340.3
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#87186C
secondary
#40BB5E
accent
#ED663B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87186C

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

Preview Lab → · Contrast checker → · Palette generator →

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