#987C8E#987C8E

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

Color values

HEX#987C8E
RGBrgb(152, 124, 142)
HSLhsl(321, 12%, 54%)
HSVhsv(321, 18%, 60%)
CMYKcmyk(0%, 18.4%, 6.6%, 40.4%)
CIE-LABlab(55.12, 13.98, -5.64)
CIE-LCHlch(55.12, 15.08, 338.03°)
OKLaboklab(61.85% 0.0402 -0.0149)
OKLCHoklch(61.85% 0.043 339.7)
XYZxyz(25.0386, 23.0443, 28.7150)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C8E #7C9886
analogous
#947C98 #987C8E #987C80
triadic
#987C8E #8E987C #7C8E98
tetradic
#987C8E #98947C #7C9886 #7C8098
square
#987C8E #98947C #7C9886 #7C8098
split-complementary
#987C8E #80987C #7C9894
monochromatic
#56444F #785F6F #987C8E #B39EAC #CEC1C9

Accessibility & contrast

On white

3.74
#987C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#987C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C8E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C8E#FFFFFF#000000##000000
##987C8E1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818F
Deuteranopia (green-blind)
#83858D
Tritanopia (blue-blind)
#9C7C82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987c8e;
/* rgb */ color: rgb(152, 124, 142);
/* oklch */ color: oklch(61.8% 0.043 339.7);
Tailwind
colors: {
  custom: {
    50: '#b6a2af',
    500: '#987c8e',
    950: '#000000',
  },
}
SCSS
$custom: #987c8e;
$custom-light: #b6a2af;
$custom-dark: #000000;
JSON
{
  "hex": "#987c8e",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 321.429,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.04287,
    "h": 339.7
  },
  "luminance": 0.23044
}

Semantic roles & 50–950 ramp

primary
#987C8E
secondary
#B2BEB6
accent
#B58A73
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110F10
muted
#807E7F

Preview Lab

Preview with #987C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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