#987C7C#987C7C

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

Color values

HEX#987C7C
RGBrgb(152, 124, 124)
HSLhsl(0, 12%, 54%)
HSVhsv(0, 18%, 60%)
CMYKcmyk(0%, 18.4%, 18.4%, 40.4%)
CIE-LABlab(54.60, 10.80, 4.08)
CIE-LCHlch(54.60, 11.55, 20.68°)
OKLaboklab(61.28% 0.0331 0.0108)
OKLCHoklch(61.28% 0.035 18.1)
XYZxyz(23.7947, 22.5468, 22.1634)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C7C #7C9898
analogous
#987C8A #987C7C #988A7C
triadic
#987C7C #7C987C #7C7C98
tetradic
#987C7C #8A987C #7C9898 #8A7C98
square
#987C7C #8A987C #7C9898 #8A7C98
split-complementary
#987C7C #7C988A #7C8A98
monochromatic
#564444 #785F5F #987C7C #B39E9E #CEC1C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987C7C#FFFFFF#000000##000000
##987C7C1.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)
#81807C
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#9E797C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #987c7c;
/* rgb */ color: rgb(152, 124, 124);
/* oklch */ color: oklch(61.3% 0.035 18.1);
Tailwind
colors: {
  custom: {
    50: '#b6a2a1',
    500: '#987c7c',
    950: '#000000',
  },
}
SCSS
$custom: #987c7c;
$custom-light: #b6a2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#987c7c",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 124
  },
  "hsl": {
    "h": 0,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.0348,
    "h": 18.1
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#987C7C
secondary
#B2BEBE
accent
#B5B573
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110F0F
muted
#807E7E

Preview Lab

Preview with #987C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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