#87186D#87186D

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

Color values

HEX#87186D
RGBrgb(135, 24, 109)
HSLhsl(314, 70%, 31%)
HSVhsv(314, 82%, 53%)
CMYKcmyk(0%, 82.2%, 19.3%, 47.1%)
CIE-LABlab(31.60, 52.96, -21.48)
CIE-LCHlch(31.60, 57.15, 337.93°)
OKLaboklab(43.28% 0.1582 -0.0581)
OKLCHoklch(43.28% 0.169 339.8)
XYZxyz(13.0790, 6.9096, 15.1099)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87186D #188732
analogous
#691887 #87186D #871835
triadic
#87186D #6D8718 #186D87
tetradic
#87186D #876918 #188732 #183587
square
#87186D #876918 #188732 #183587
split-complementary
#87186D #358718 #188769
monochromatic
#1F0619 #530F43 #87186D #BB2197 #DC3DB7

Accessibility & contrast

On white

8.82
#87186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87186D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87186D#FFFFFF#000000##FFFFFF
##87186D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#46516B
Tritanopia (blue-blind)
#8F1D42
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87186d;
/* rgb */ color: rgb(135, 24, 109);
/* oklch */ color: oklch(43.3% 0.169 339.8);
Tailwind
colors: {
  custom: {
    50: '#ae6497',
    500: '#87186d',
    950: '#000000',
  },
}
SCSS
$custom: #87186d;
$custom-light: #ae6497;
$custom-dark: #000000;
JSON
{
  "hex": "#87186d",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 314.054,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.16852,
    "h": 339.8
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#87186D
secondary
#40BB5D
accent
#ED653B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87186D

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

Preview Lab → · Contrast checker → · Palette generator →

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