#987A7C#987A7C

#987A7C is a mid, muted red. Relative luminance 0.221; OKLCH L 60.9% C 0.037 H 13.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#987A7C
RGBrgb(152, 122, 124)
HSLhsl(356, 13%, 54%)
HSVhsv(356, 20%, 60%)
CMYKcmyk(0%, 19.7%, 18.4%, 40.4%)
CIE-LABlab(54.08, 11.95, 3.33)
CIE-LCHlch(54.08, 12.41, 15.55°)
OKLaboklab(60.87% 0.0364 0.0089)
OKLCHoklch(60.87% 0.037 13.7)
XYZxyz(23.5466, 22.0506, 22.0807)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A7C #7A9896
analogous
#987A8B #987A7C #98877A
triadic
#987A7C #7C987A #7A7C98
tetradic
#987A7C #8B987A #7A9896 #877A98
square
#987A7C #8B987A #7A9896 #877A98
split-complementary
#987A7C #7A9887 #7A8B98
monochromatic
#554243 #785D5F #987A7C #B39C9E #CDBFC0

Accessibility & contrast

On white

3.88
#987A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#987A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A7C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A7C#FFFFFF#000000##000000
##987A7C1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7C
Deuteranopia (green-blind)
#86837C
Tritanopia (blue-blind)
#9E787B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987a7c;
/* rgb */ color: rgb(152, 122, 124);
/* oklch */ color: oklch(60.9% 0.037 13.7);
Tailwind
colors: {
  custom: {
    50: '#b6a0a1',
    500: '#987a7c',
    950: '#000000',
  },
}
SCSS
$custom: #987a7c;
$custom-light: #b6a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#987a7c",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 124
  },
  "hsl": {
    "h": 356,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.03746,
    "h": 13.7
  },
  "luminance": 0.2205
}

Semantic roles & 50–950 ramp

primary
#987A7C
secondary
#B0BDBC
accent
#B6B172
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110E0F
muted
#807E7E

Preview Lab

Preview with #987A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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