#87176A#87176A

#87176A 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.90:1 contrast (WCAG AA passes).

Color values

HEX#87176A
RGBrgb(135, 23, 106)
HSLhsl(316, 71%, 31%)
HSVhsv(316, 83%, 53%)
CMYKcmyk(0%, 83%, 21.5%, 47.1%)
CIE-LABlab(31.36, 52.81, -19.93)
CIE-LCHlch(31.36, 56.45, 339.33°)
OKLaboklab(43.06% 0.1586 -0.0537)
OKLCHoklch(43.06% 0.167 341.3)
XYZxyz(12.9000, 6.8057, 14.2671)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87176A #178734
analogous
#6C1787 #87176A #871732
triadic
#87176A #6A8717 #176A87
tetradic
#87176A #876C17 #178734 #173287
square
#87176A #876C17 #178734 #173287
split-complementary
#87176A #328717 #17876C
monochromatic
#1E0518 #530E41 #87176A #BB2093 #DE3BB3

Accessibility & contrast

On white

8.90
#87176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#87176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87176A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87176A#FFFFFF#000000##FFFFFF
##87176A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#475068
Tritanopia (blue-blind)
#901A40
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87176a;
/* rgb */ color: rgb(135, 23, 106);
/* oklch */ color: oklch(43.1% 0.167 341.3);
Tailwind
colors: {
  custom: {
    50: '#ae6395',
    500: '#87176a',
    950: '#000000',
  },
}
SCSS
$custom: #87176a;
$custom-light: #ae6395;
$custom-dark: #000000;
JSON
{
  "hex": "#87176a",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 315.536,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43058,
    "c": 0.16746,
    "h": 341.3
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#87176A
secondary
#3FBB5F
accent
#EE693A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #87176A

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

Preview Lab → · Contrast checker → · Palette generator →

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