#87186F#87186F

#87186F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.170 H 338.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#87186F
RGBrgb(135, 24, 111)
HSLhsl(313, 70%, 31%)
HSVhsv(313, 82%, 53%)
CMYKcmyk(0%, 82.2%, 17.8%, 47.1%)
CIE-LABlab(31.70, 53.25, -22.60)
CIE-LCHlch(31.70, 57.84, 337.00°)
OKLaboklab(43.38% 0.1584 -0.0613)
OKLCHoklch(43.38% 0.17 338.8)
XYZxyz(13.1879, 6.9532, 15.6834)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87186F #188730
analogous
#671887 #87186F #871837
triadic
#87186F #6F8718 #186F87
tetradic
#87186F #876718 #188730 #183787
square
#87186F #876718 #188730 #183787
split-complementary
#87186F #378718 #188767
monochromatic
#1F061A #530F44 #87186F #BB219A #DC3DBA

Accessibility & contrast

On white

8.79
#87186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87186F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87186F#FFFFFF#000000##FFFFFF
##87186F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4071
Deuteranopia (green-blind)
#46516D
Tritanopia (blue-blind)
#8F1E43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #87186f;
/* rgb */ color: rgb(135, 24, 111);
/* oklch */ color: oklch(43.4% 0.170 338.8);
Tailwind
colors: {
  custom: {
    50: '#ae6498',
    500: '#87186f',
    950: '#000000',
  },
}
SCSS
$custom: #87186f;
$custom-light: #ae6498;
$custom-dark: #000000;
JSON
{
  "hex": "#87186f",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 312.973,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43383,
    "c": 0.16985,
    "h": 338.8
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#87186F
secondary
#40BB5B
accent
#ED623B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87186F

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

Preview Lab → · Contrast checker → · Palette generator →

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