#987C8A#987C8A

#987C8A is a mid, muted pink. Relative luminance 0.229; OKLCH L 61.7% C 0.040 H 346.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#987C8A
RGBrgb(152, 124, 138)
HSLhsl(330, 12%, 54%)
HSVhsv(330, 18%, 60%)
CMYKcmyk(0%, 18.4%, 9.2%, 40.4%)
CIE-LABlab(55.00, 13.24, -3.49)
CIE-LCHlch(55.00, 13.69, 345.22°)
OKLaboklab(61.71% 0.0387 -0.0091)
OKLCHoklch(61.71% 0.04 346.7)
XYZxyz(24.7437, 22.9264, 27.1616)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C8A #7C988A
analogous
#987C98 #987C8A #987C7C
triadic
#987C8A #8A987C #7C8A98
tetradic
#987C8A #98987C #7C988A #7C7C98
square
#987C8A #98987C #7C988A #7C7C98
split-complementary
#987C8A #7C987C #7C9898
monochromatic
#56444D #785F6B #987C8A #B39EA9 #CEC1C7

Accessibility & contrast

On white

3.76
#987C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#987C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C8A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C8A#FFFFFF#000000##000000
##987C8A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#848589
Tritanopia (blue-blind)
#9C7C81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987c8a;
/* rgb */ color: rgb(152, 124, 138);
/* oklch */ color: oklch(61.7% 0.040 346.7);
Tailwind
colors: {
  custom: {
    50: '#b6a2ac',
    500: '#987c8a',
    950: '#000000',
  },
}
SCSS
$custom: #987c8a;
$custom-light: #b6a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#987c8a",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 330,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.03974,
    "h": 346.7
  },
  "luminance": 0.22926
}

Semantic roles & 50–950 ramp

primary
#987C8A
secondary
#B2BEB8
accent
#B59473
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110F10
muted
#807E7F

Preview Lab

Preview with #987C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#987C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva