#987E7C#987E7C

#987E7C is a mid, muted red. Relative luminance 0.231; OKLCH L 61.7% C 0.032 H 23.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#987E7C
RGBrgb(152, 126, 124)
HSLhsl(4, 12%, 54%)
HSVhsv(4, 18%, 60%)
CMYKcmyk(0%, 17.1%, 18.4%, 40.4%)
CIE-LABlab(55.13, 9.66, 4.83)
CIE-LCHlch(55.13, 10.80, 26.59°)
OKLaboklab(61.68% 0.0298 0.0128)
OKLCHoklch(61.68% 0.032 23.2)
XYZxyz(24.0479, 23.0531, 22.2478)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E7C #7C9698
analogous
#987C88 #987E7C #988C7C
triadic
#987E7C #7C987E #7E7C98
tetradic
#987E7C #88987C #7C9698 #8C7C98
square
#987E7C #88987C #7C9698 #8C7C98
split-complementary
#987E7C #7C988C #7C8898
monochromatic
#564544 #78605F #987E7C #B3A09E #CEC1C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987E7C#FFFFFF#000000##000000
##987E7C1.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)
#83817C
Deuteranopia (green-blind)
#89867C
Tritanopia (blue-blind)
#9E7B7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987e7c;
/* rgb */ color: rgb(152, 126, 124);
/* oklch */ color: oklch(61.7% 0.032 23.2);
Tailwind
colors: {
  custom: {
    50: '#b6a3a1',
    500: '#987e7c',
    950: '#000000',
  },
}
SCSS
$custom: #987e7c;
$custom-light: #b6a3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#987e7c",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 124
  },
  "hsl": {
    "h": 4.286,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.0324,
    "h": 23.2
  },
  "luminance": 0.23052
}

Semantic roles & 50–950 ramp

primary
#987E7C
secondary
#B2BDBE
accent
#B0B573
background
#FBFAF9
surface
#F6F3F2
border
#D0CDCC
text
#110F0F
muted
#807F7E

Preview Lab

Preview with #987E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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