#987F8A#987F8A

#987F8A is a light, muted pink. Relative luminance 0.237; OKLCH L 62.3% C 0.034 H 349.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#987F8A
RGBrgb(152, 127, 138)
HSLhsl(334, 11%, 55%)
HSVhsv(334, 16%, 60%)
CMYKcmyk(0%, 16.4%, 9.2%, 40.4%)
CIE-LABlab(55.78, 11.52, -2.35)
CIE-LCHlch(55.78, 11.75, 348.49°)
OKLaboklab(62.32% 0.0338 -0.0061)
OKLCHoklch(62.32% 0.034 349.8)
XYZxyz(25.1254, 23.6898, 27.2889)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987F8A #7F988D
analogous
#987F97 #987F8A #98807F
triadic
#987F8A #8A987F #7F8A98
tetradic
#987F8A #97987F #7F988D #807F98
square
#987F8A #97987F #7F988D #807F98
split-complementary
#987F8A #7F9880 #7F9798
monochromatic
#57464D #79616B #987F8A #B3A1A9 #CFC3C8

Accessibility & contrast

On white

3.66
#987F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#987F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987F8A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987F8A#FFFFFF#000000##000000
##987F8A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81838A
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#9C7F83
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987f8a;
/* rgb */ color: rgb(152, 127, 138);
/* oklch */ color: oklch(62.3% 0.034 349.8);
Tailwind
colors: {
  custom: {
    50: '#b6a4ac',
    500: '#987f8a',
    950: '#000000',
  },
}
SCSS
$custom: #987f8a;
$custom-light: #b6a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#987f8a",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 333.6,
    "s": 10.823,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62315,
    "c": 0.03433,
    "h": 349.8
  },
  "luminance": 0.23689
}

Semantic roles & 50–950 ramp

primary
#987F8A
secondary
#B4BFBA
accent
#B49874
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#110F10
muted
#807F7F

Preview Lab

Preview with #987F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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