#987D7D#987D7D

#987D7D is a mid, muted red. Relative luminance 0.228; OKLCH L 61.5% C 0.033 H 18.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#987D7D
RGBrgb(152, 125, 125)
HSLhsl(0, 12%, 54%)
HSVhsv(0, 18%, 60%)
CMYKcmyk(0%, 17.8%, 17.8%, 40.4%)
CIE-LABlab(54.89, 10.40, 3.91)
CIE-LCHlch(54.89, 11.11, 20.63°)
OKLaboklab(61.51% 0.0318 0.0104)
OKLCHoklch(61.51% 0.033 18.1)
XYZxyz(23.9842, 22.8241, 22.5402)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D7D #7D9898
analogous
#987D8B #987D7D #988B7D
triadic
#987D7D #7D987D #7D7D98
tetradic
#987D7D #8B987D #7D9898 #8B7D98
square
#987D7D #8B987D #7D9898 #8B7D98
split-complementary
#987D7D #7D988B #7D8B98
monochromatic
#564444 #785F5F #987D7D #B39F9F #CEC1C1

Accessibility & contrast

On white

3.77
#987D7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#987D7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D7D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D7D#FFFFFF#000000##000000
##987D7D1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82807D
Deuteranopia (green-blind)
#88857D
Tritanopia (blue-blind)
#9E7B7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #987d7d;
/* rgb */ color: rgb(152, 125, 125);
/* oklch */ color: oklch(61.5% 0.033 18.1);
Tailwind
colors: {
  custom: {
    50: '#b6a2a2',
    500: '#987d7d',
    950: '#000000',
  },
}
SCSS
$custom: #987d7d;
$custom-light: #b6a2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#987d7d",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 125
  },
  "hsl": {
    "h": 0,
    "s": 11.588,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.03349,
    "h": 18.1
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

primary
#987D7D
secondary
#B3BEBE
accent
#B4B473
background
#FBFAF9
surface
#F6F3F2
border
#D0CDCC
text
#110F0F
muted
#807F7E

Preview Lab

Preview with #987D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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