#987C7E#987C7E

#987C7E is a mid, muted red. Relative luminance 0.226; OKLCH L 61.3% C 0.035 H 13.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#987C7E
RGBrgb(152, 124, 126)
HSLhsl(356, 12%, 54%)
HSVhsv(356, 18%, 60%)
CMYKcmyk(0%, 18.4%, 17.1%, 40.4%)
CIE-LABlab(54.66, 11.14, 2.99)
CIE-LCHlch(54.66, 11.53, 15.04°)
OKLaboklab(61.33% 0.0339 0.008)
OKLCHoklch(61.33% 0.035 13.3)
XYZxyz(23.9224, 22.5979, 22.8363)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C7E #7C9896
analogous
#987C8C #987C7E #98887C
triadic
#987C7E #7E987C #7C7E98
tetradic
#987C7E #8C987C #7C9896 #887C98
square
#987C7E #8C987C #7C9896 #887C98
split-complementary
#987C7E #7C9888 #7C8C98
monochromatic
#564445 #785F60 #987C7E #B39EA0 #CEC1C1

Accessibility & contrast

On white

3.80
#987C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#987C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C7E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C7E#FFFFFF#000000##000000
##987C7E1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807E
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#9E7A7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #987c7e;
/* rgb */ color: rgb(152, 124, 126);
/* oklch */ color: oklch(61.3% 0.035 13.3);
Tailwind
colors: {
  custom: {
    50: '#b6a2a3',
    500: '#987c7e',
    950: '#000000',
  },
}
SCSS
$custom: #987c7e;
$custom-light: #b6a2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#987c7e",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 126
  },
  "hsl": {
    "h": 355.714,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.03484,
    "h": 13.3
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#987C7E
secondary
#B2BEBD
accent
#B5B073
background
#FBF9FA
surface
#F6F2F3
border
#D0CCCD
text
#110F0F
muted
#807E7F

Preview Lab

Preview with #987C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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