#987A7A#987A7A

#987A7A is a mid, muted red. Relative luminance 0.220; OKLCH L 60.8% C 0.037 H 18.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#987A7A
RGBrgb(152, 122, 122)
HSLhsl(0, 13%, 54%)
HSVhsv(0, 20%, 60%)
CMYKcmyk(0%, 19.7%, 19.7%, 40.4%)
CIE-LABlab(54.03, 11.63, 4.42)
CIE-LCHlch(54.03, 12.44, 20.80°)
OKLaboklab(60.81% 0.0356 0.0117)
OKLCHoklch(60.81% 0.037 18.2)
XYZxyz(23.4214, 22.0005, 21.4214)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A7A #7A9898
analogous
#987A89 #987A7A #98897A
triadic
#987A7A #7A987A #7A7A98
tetradic
#987A7A #89987A #7A9898 #897A98
square
#987A7A #89987A #7A9898 #897A98
split-complementary
#987A7A #7A9889 #7A8998
monochromatic
#554242 #785D5D #987A7A #B39C9C #CDBFBF

Accessibility & contrast

On white

3.89
#987A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#987A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A7A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A7A#FFFFFF#000000##000000
##987A7A1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7A
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#9F777A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987a7a;
/* rgb */ color: rgb(152, 122, 122);
/* oklch */ color: oklch(60.8% 0.037 18.2);
Tailwind
colors: {
  custom: {
    50: '#b6a0a0',
    500: '#987a7a',
    950: '#000000',
  },
}
SCSS
$custom: #987a7a;
$custom-light: #b6a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#987a7a",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 122
  },
  "hsl": {
    "h": 0,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.03745,
    "h": 18.2
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#987A7A
secondary
#B0BDBD
accent
#B6B672
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110E0E
muted
#807E7E

Preview Lab

Preview with #987A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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