#87487B#87487B

#87487B is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.6% C 0.109 H 334.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#87487B
RGBrgb(135, 72, 123)
HSLhsl(311, 30%, 41%)
HSVhsv(311, 47%, 53%)
CMYKcmyk(0%, 46.7%, 8.9%, 47.1%)
CIE-LABlab(39.94, 34.28, -17.36)
CIE-LCHlch(39.94, 38.42, 333.14°)
OKLaboklab(49.61% 0.0987 -0.0469)
OKLCHoklch(49.61% 0.109 334.6)
XYZxyz(15.8842, 11.2166, 20.0634)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87487B #488754
analogous
#734887 #87487B #87485B
triadic
#87487B #7B8748 #487B87
tetradic
#87487B #877348 #488754 #485B87
square
#87487B #877348 #488754 #485B87
split-complementary
#87487B #5B8748 #488773
monochromatic
#371D32 #5F3357 #87487B #AB619D #C089B6

Accessibility & contrast

On white

6.48
#87487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#87487B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87487B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87487B#FFFFFF#000000##FFFFFF
##87487B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587D
Deuteranopia (green-blind)
#596179
Tritanopia (blue-blind)
#8C4B5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87487b;
/* rgb */ color: rgb(135, 72, 123);
/* oklch */ color: oklch(49.6% 0.109 334.6);
Tailwind
colors: {
  custom: {
    50: '#ab7da1',
    500: '#87487b',
    950: '#000000',
  },
}
SCSS
$custom: #87487b;
$custom-light: #ab7da1;
$custom-dark: #000000;
JSON
{
  "hex": "#87487b",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 311.429,
    "s": 30.435,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.10927,
    "h": 334.6
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87487B

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

Preview Lab → · Contrast checker → · Palette generator →

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