#987A79#987A79

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

Color values

HEX#987A79
RGBrgb(152, 122, 121)
HSLhsl(2, 13%, 54%)
HSVhsv(2, 20%, 60%)
CMYKcmyk(0%, 19.7%, 20.4%, 40.4%)
CIE-LABlab(54.00, 11.46, 4.96)
CIE-LCHlch(54.00, 12.49, 23.40°)
OKLaboklab(60.78% 0.0352 0.0131)
OKLCHoklch(60.78% 0.038 20.5)
XYZxyz(23.3597, 21.9758, 21.0967)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A79 #799798
analogous
#987987 #987A79 #988979
triadic
#987A79 #79987A #7A7998
tetradic
#987A79 #879879 #799798 #897998
square
#987A79 #879879 #799798 #897998
split-complementary
#987A79 #799889 #798798
monochromatic
#554241 #785D5C #987A79 #B39C9C #CDBFBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987A79#FFFFFF#000000##000000
##987A791.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)
#7F7E79
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#9F777A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987a79;
/* rgb */ color: rgb(152, 122, 121);
/* oklch */ color: oklch(60.8% 0.038 20.5);
Tailwind
colors: {
  custom: {
    50: '#b6a09f',
    500: '#987a79',
    950: '#000000',
  },
}
SCSS
$custom: #987a79;
$custom-light: #b6a09f;
$custom-dark: #000000;
JSON
{
  "hex": "#987a79",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 121
  },
  "hsl": {
    "h": 1.935,
    "s": 13.08,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.03753,
    "h": 20.5
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #987A79

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

Preview Lab → · Contrast checker → · Palette generator →

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