#87487C#87487C

#87487C is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.7% C 0.110 H 333.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#87487C
RGBrgb(135, 72, 124)
HSLhsl(310, 30%, 41%)
HSVhsv(310, 47%, 53%)
CMYKcmyk(0%, 46.7%, 8.1%, 47.1%)
CIE-LABlab(39.98, 34.46, -17.91)
CIE-LCHlch(39.98, 38.83, 332.54°)
OKLaboklab(49.66% 0.099 -0.0484)
OKLCHoklch(49.66% 0.11 333.9)
XYZxyz(15.9471, 11.2418, 20.3948)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87487C #488753
analogous
#724887 #87487C #87485C
triadic
#87487C #7C8748 #487C87
tetradic
#87487C #877248 #488753 #485C87
square
#87487C #877248 #488753 #485C87
split-complementary
#87487C #5C8748 #488772
monochromatic
#371D33 #5F3357 #87487C #AB619E #C089B7

Accessibility & contrast

On white

6.47
#87487C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#87487C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87487C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87487C#FFFFFF#000000##FFFFFF
##87487C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587E
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#8C4B5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87487c;
/* rgb */ color: rgb(135, 72, 124);
/* oklch */ color: oklch(49.7% 0.110 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab7da2',
    500: '#87487c',
    950: '#000000',
  },
}
SCSS
$custom: #87487c;
$custom-light: #ab7da2;
$custom-dark: #000000;
JSON
{
  "hex": "#87487c",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 310.476,
    "s": 30.435,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.11018,
    "h": 333.9
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#87487C
secondary
#7FAC87
accent
#C77361
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #87487C

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

Preview Lab → · Contrast checker → · Palette generator →

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