#87186E#87186E

#87186E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.3% C 0.169 H 339.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#87186E
RGBrgb(135, 24, 110)
HSLhsl(314, 70%, 31%)
HSVhsv(314, 82%, 53%)
CMYKcmyk(0%, 82.2%, 18.5%, 47.1%)
CIE-LABlab(31.65, 53.10, -22.04)
CIE-LCHlch(31.65, 57.50, 337.46°)
OKLaboklab(43.33% 0.1583 -0.0597)
OKLCHoklch(43.33% 0.169 339.3)
XYZxyz(13.1332, 6.9313, 15.3951)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87186E #188731
analogous
#681887 #87186E #871836
triadic
#87186E #6E8718 #186E87
tetradic
#87186E #876818 #188731 #183687
square
#87186E #876818 #188731 #183687
split-complementary
#87186E #368718 #188768
monochromatic
#1F0619 #530F44 #87186E #BB2198 #DC3DB9

Accessibility & contrast

On white

8.80
#87186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#87186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87186E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87186E#FFFFFF#000000##FFFFFF
##87186E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#46516C
Tritanopia (blue-blind)
#8F1D42
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87186e;
/* rgb */ color: rgb(135, 24, 110);
/* oklch */ color: oklch(43.3% 0.169 339.3);
Tailwind
colors: {
  custom: {
    50: '#ae6498',
    500: '#87186e',
    950: '#000000',
  },
}
SCSS
$custom: #87186e;
$custom-light: #ae6498;
$custom-dark: #000000;
JSON
{
  "hex": "#87186e",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 313.514,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.16918,
    "h": 339.3
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#87186E
secondary
#40BB5C
accent
#ED633B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87186E

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

Preview Lab → · Contrast checker → · Palette generator →

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