#87186A#87186A

#87186A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.1% C 0.167 H 341.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#87186A
RGBrgb(135, 24, 106)
HSLhsl(316, 70%, 31%)
HSVhsv(316, 82%, 53%)
CMYKcmyk(0%, 82.2%, 21.5%, 47.1%)
CIE-LABlab(31.45, 52.54, -19.78)
CIE-LCHlch(31.45, 56.15, 339.37°)
OKLaboklab(43.13% 0.1578 -0.0533)
OKLCHoklch(43.13% 0.167 341.3)
XYZxyz(12.9203, 6.8461, 14.2739)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87186A #188735
analogous
#6C1887 #87186A #871832
triadic
#87186A #6A8718 #186A87
tetradic
#87186A #876C18 #188735 #183287
square
#87186A #876C18 #188735 #183287
split-complementary
#87186A #328718 #18876C
monochromatic
#1F0618 #530F41 #87186A #BB2193 #DC3DB3

Accessibility & contrast

On white

8.86
#87186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87186A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87186A#FFFFFF#000000##FFFFFF
##87186A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6C
Deuteranopia (green-blind)
#485068
Tritanopia (blue-blind)
#901B40
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87186a;
/* rgb */ color: rgb(135, 24, 106);
/* oklch */ color: oklch(43.1% 0.167 341.3);
Tailwind
colors: {
  custom: {
    50: '#ae6495',
    500: '#87186a',
    950: '#000000',
  },
}
SCSS
$custom: #87186a;
$custom-light: #ae6495;
$custom-dark: #000000;
JSON
{
  "hex": "#87186a",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 315.676,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43126,
    "c": 0.16655,
    "h": 341.3
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#87186A
secondary
#40BB60
accent
#ED6A3B
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87186A

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

Preview Lab → · Contrast checker → · Palette generator →

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