#987E8A#987E8A

#987E8A is a light, muted pink. Relative luminance 0.234; OKLCH L 62.1% C 0.036 H 348.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#987E8A
RGBrgb(152, 126, 138)
HSLhsl(332, 11%, 55%)
HSVhsv(332, 17%, 60%)
CMYKcmyk(0%, 17.1%, 9.2%, 40.4%)
CIE-LABlab(55.52, 12.09, -2.73)
CIE-LCHlch(55.52, 12.39, 347.28°)
OKLaboklab(62.11% 0.0354 -0.0071)
OKLCHoklch(62.11% 0.036 348.7)
XYZxyz(24.9969, 23.4327, 27.2460)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E8A #7E988C
analogous
#987E97 #987E8A #987F7E
triadic
#987E8A #8A987E #7E8A98
tetradic
#987E8A #97987E #7E988C #7F7E98
square
#987E8A #97987E #7E988C #7F7E98
split-complementary
#987E8A #7E987F #7E9798
monochromatic
#57454D #79606B #987E8A #B3A0A9 #CEC2C8

Accessibility & contrast

On white

3.69
#987E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#987E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E8A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E8A#FFFFFF#000000##000000
##987E8A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80838A
Deuteranopia (green-blind)
#868689
Tritanopia (blue-blind)
#9C7E82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #987e8a;
/* rgb */ color: rgb(152, 126, 138);
/* oklch */ color: oklch(62.1% 0.036 348.7);
Tailwind
colors: {
  custom: {
    50: '#b6a3ac',
    500: '#987e8a',
    950: '#000000',
  },
}
SCSS
$custom: #987e8a;
$custom-light: #b6a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#987e8a",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 332.308,
    "s": 11.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62113,
    "c": 0.03612,
    "h": 348.7
  },
  "luminance": 0.23432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #987E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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