#87186B#87186B

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

Color values

HEX#87186B
RGBrgb(135, 24, 107)
HSLhsl(315, 70%, 31%)
HSVhsv(315, 82%, 53%)
CMYKcmyk(0%, 82.2%, 20.7%, 47.1%)
CIE-LABlab(31.50, 52.68, -20.35)
CIE-LCHlch(31.50, 56.48, 338.88°)
OKLaboklab(43.18% 0.1579 -0.0549)
OKLCHoklch(43.18% 0.167 340.8)
XYZxyz(12.9726, 6.8671, 14.5494)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87186B #188734
analogous
#6B1887 #87186B #871833
triadic
#87186B #6B8718 #186B87
tetradic
#87186B #876B18 #188734 #183387
square
#87186B #876B18 #188734 #183387
split-complementary
#87186B #338718 #18876B
monochromatic
#1F0619 #530F42 #87186B #BB2194 #DC3DB4

Accessibility & contrast

On white

8.85
#87186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#87186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87186B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87186B#FFFFFF#000000##FFFFFF
##87186B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6D
Deuteranopia (green-blind)
#475069
Tritanopia (blue-blind)
#901B41
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87186b;
/* rgb */ color: rgb(135, 24, 107);
/* oklch */ color: oklch(43.2% 0.167 340.8);
Tailwind
colors: {
  custom: {
    50: '#ae6495',
    500: '#87186b',
    950: '#000000',
  },
}
SCSS
$custom: #87186b;
$custom-light: #ae6495;
$custom-dark: #000000;
JSON
{
  "hex": "#87186b",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 315.135,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.1672,
    "h": 340.8
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#87186B
secondary
#40BB5F
accent
#ED683B
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87186B

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

Preview Lab → · Contrast checker → · Palette generator →

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