#987D8A#987D8A

#987D8A is a mid, muted pink. Relative luminance 0.232; OKLCH L 61.9% C 0.038 H 347.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#987D8A
RGBrgb(152, 125, 138)
HSLhsl(331, 12%, 54%)
HSVhsv(331, 18%, 60%)
CMYKcmyk(0%, 17.8%, 9.2%, 40.4%)
CIE-LABlab(55.26, 12.67, -3.11)
CIE-LCHlch(55.26, 13.04, 346.20°)
OKLaboklab(61.91% 0.0371 -0.0081)
OKLCHoklch(61.91% 0.038 347.7)
XYZxyz(24.8696, 23.1783, 27.2036)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D8A #7D988B
analogous
#987D98 #987D8A #987E7D
triadic
#987D8A #8A987D #7D8A98
tetradic
#987D8A #98987D #7D988B #7E7D98
square
#987D8A #98987D #7D988B #7E7D98
split-complementary
#987D8A #7D987E #7D9898
monochromatic
#56444D #785F6B #987D8A #B39FA9 #CEC1C7

Accessibility & contrast

On white

3.73
#987D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#987D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D8A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D8A#FFFFFF#000000##000000
##987D8A1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F828B
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#9C7D81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987d8a;
/* rgb */ color: rgb(152, 125, 138);
/* oklch */ color: oklch(61.9% 0.038 347.7);
Tailwind
colors: {
  custom: {
    50: '#b6a2ac',
    500: '#987d8a',
    950: '#000000',
  },
}
SCSS
$custom: #987d8a;
$custom-light: #b6a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#987d8a",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 331.111,
    "s": 11.588,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61912,
    "c": 0.03792,
    "h": 347.7
  },
  "luminance": 0.23178
}

Semantic roles & 50–950 ramp

primary
#987D8A
secondary
#B3BEB9
accent
#B49573
background
#FBFAFA
surface
#F6F3F4
border
#D0CDCE
text
#110F10
muted
#807F7F

Preview Lab

Preview with #987D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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