#987C8C#987C8C

#987C8C is a mid, muted pink. Relative luminance 0.230; OKLCH L 61.8% C 0.041 H 343.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#987C8C
RGBrgb(152, 124, 140)
HSLhsl(326, 12%, 54%)
HSVhsv(326, 18%, 60%)
CMYKcmyk(0%, 18.4%, 7.9%, 40.4%)
CIE-LABlab(55.06, 13.61, -4.57)
CIE-LCHlch(55.06, 14.36, 341.45°)
OKLaboklab(61.78% 0.0395 -0.012)
OKLCHoklch(61.78% 0.041 343.1)
XYZxyz(24.8898, 22.9848, 27.9312)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C8C #7C9888
analogous
#967C98 #987C8C #987C7E
triadic
#987C8C #8C987C #7C8C98
tetradic
#987C8C #98967C #7C9888 #7C7E98
square
#987C8C #98967C #7C9888 #7C7E98
split-complementary
#987C8C #7E987C #7C9896
monochromatic
#56444E #785F6D #987C8C #B39EAA #CEC1C8

Accessibility & contrast

On white

3.75
#987C8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#987C8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C8C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C8C#FFFFFF#000000##000000
##987C8C1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818D
Deuteranopia (green-blind)
#84858B
Tritanopia (blue-blind)
#9C7C81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987c8c;
/* rgb */ color: rgb(152, 124, 140);
/* oklch */ color: oklch(61.8% 0.041 343.1);
Tailwind
colors: {
  custom: {
    50: '#b6a2ad',
    500: '#987c8c',
    950: '#000000',
  },
}
SCSS
$custom: #987c8c;
$custom-light: #b6a2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#987c8c",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 325.714,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.04123,
    "h": 343.1
  },
  "luminance": 0.22984
}

Semantic roles & 50–950 ramp

primary
#987C8C
secondary
#B2BEB7
accent
#B58F73
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110F10
muted
#807E7F

Preview Lab

Preview with #987C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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