#987A8A#987A8A

#987A8A is a mid, muted pink. Relative luminance 0.224; OKLCH L 61.3% C 0.043 H 345.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#987A8A
RGBrgb(152, 122, 138)
HSLhsl(328, 13%, 54%)
HSVhsv(328, 20%, 60%)
CMYKcmyk(0%, 19.7%, 9.2%, 40.4%)
CIE-LABlab(54.48, 14.39, -4.25)
CIE-LCHlch(54.48, 15.01, 343.53°)
OKLaboklab(61.31% 0.042 -0.0111)
OKLCHoklch(61.31% 0.043 345.1)
XYZxyz(24.4956, 22.4302, 27.0789)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A8A #7A9888
analogous
#977A98 #987A8A #987A7B
triadic
#987A8A #8A987A #7A8A98
tetradic
#987A8A #98977A #7A9888 #7A7B98
square
#987A8A #98977A #7A9888 #7A7B98
split-complementary
#987A8A #7B987A #7A9897
monochromatic
#55424C #785D6B #987A8A #B39CA8 #CDBFC7

Accessibility & contrast

On white

3.83
#987A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#987A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A8A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A8A#FFFFFF#000000##000000
##987A8A1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C808B
Deuteranopia (green-blind)
#828489
Tritanopia (blue-blind)
#9C7A7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #987a8a;
/* rgb */ color: rgb(152, 122, 138);
/* oklch */ color: oklch(61.3% 0.043 345.1);
Tailwind
colors: {
  custom: {
    50: '#b6a0ac',
    500: '#987a8a',
    950: '#000000',
  },
}
SCSS
$custom: #987a8a;
$custom-light: #b6a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#987a8a",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 328,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.0434,
    "h": 345.1
  },
  "luminance": 0.22429
}

Semantic roles & 50–950 ramp

primary
#987A8A
secondary
#B0BDB6
accent
#B69272
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110E10
muted
#807E7F

Preview Lab

Preview with #987A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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