#87196C#87196C

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

Color values

HEX#87196C
RGBrgb(135, 25, 108)
HSLhsl(315, 69%, 31%)
HSVhsv(315, 81%, 53%)
CMYKcmyk(0%, 81.5%, 20%, 47.1%)
CIE-LABlab(31.65, 52.55, -20.76)
CIE-LCHlch(31.65, 56.50, 338.44°)
OKLaboklab(43.3% 0.1572 -0.0561)
OKLCHoklch(43.3% 0.167 340.4)
XYZxyz(13.0465, 6.9302, 14.8350)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87196C #198734
analogous
#6B1987 #87196C #871935
triadic
#87196C #6C8719 #196C87
tetradic
#87196C #876B19 #198734 #193587
square
#87196C #876B19 #198734 #193587
split-complementary
#87196C #358719 #19876B
monochromatic
#200619 #530F43 #87196C #BB2395 #DB3FB5

Accessibility & contrast

On white

8.80
#87196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#87196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87196C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87196C#FFFFFF#000000##FFFFFF
##87196C1.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)
#233F6E
Deuteranopia (green-blind)
#47516A
Tritanopia (blue-blind)
#8F1D41
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87196c;
/* rgb */ color: rgb(135, 25, 108);
/* oklch */ color: oklch(43.3% 0.167 340.4);
Tailwind
colors: {
  custom: {
    50: '#ae6496',
    500: '#87196c',
    950: '#000000',
  },
}
SCSS
$custom: #87196c;
$custom-light: #ae6496;
$custom-dark: #000000;
JSON
{
  "hex": "#87196c",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 314.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.16692,
    "h": 340.4
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#87196C
secondary
#41BA5F
accent
#EC673C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87196C

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

Preview Lab → · Contrast checker → · Palette generator →

#87196C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva