#987A8E#987A8E

#987A8E is a mid, muted pink. Relative luminance 0.225; OKLCH L 61.4% C 0.047 H 338.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#987A8E
RGBrgb(152, 122, 142)
HSLhsl(320, 13%, 54%)
HSVhsv(320, 20%, 60%)
CMYKcmyk(0%, 19.7%, 6.6%, 40.4%)
CIE-LABlab(54.60, 15.14, -6.40)
CIE-LCHlch(54.60, 16.43, 337.07°)
OKLaboklab(61.45% 0.0435 -0.0169)
OKLCHoklch(61.45% 0.047 338.7)
XYZxyz(24.7905, 22.5481, 28.6323)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A8E #7A9884
analogous
#937A98 #987A8E #987A7F
triadic
#987A8E #8E987A #7A8E98
tetradic
#987A8E #98937A #7A9884 #7A7F98
square
#987A8E #98937A #7A9884 #7A7F98
split-complementary
#987A8E #7F987A #7A9893
monochromatic
#55424F #785D6F #987A8E #B39CAB #CDBFC9

Accessibility & contrast

On white

3.81
#987A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#987A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A8E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A8E#FFFFFF#000000##000000
##987A8E1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B808F
Deuteranopia (green-blind)
#81848D
Tritanopia (blue-blind)
#9C7B81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #987a8e;
/* rgb */ color: rgb(152, 122, 142);
/* oklch */ color: oklch(61.4% 0.047 338.7);
Tailwind
colors: {
  custom: {
    50: '#b6a0af',
    500: '#987a8e',
    950: '#000000',
  },
}
SCSS
$custom: #987a8e;
$custom-light: #b6a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#987a8e",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 142
  },
  "hsl": {
    "h": 320,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.04664,
    "h": 338.7
  },
  "luminance": 0.22547
}

Semantic roles & 50–950 ramp

primary
#987A8E
secondary
#B0BDB5
accent
#B68972
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110E10
muted
#807E7F

Preview Lab

Preview with #987A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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