#87797A#87797A

#87797A is a mid, near-neutral grey. Relative luminance 0.202; OKLCH L 58.9% C 0.017 H 12.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#87797A
RGBrgb(135, 121, 122)
HSLhsl(356, 6%, 50%)
HSVhsv(356, 10%, 53%)
CMYKcmyk(0%, 10.4%, 9.6%, 47.1%)
CIE-LABlab(52.10, 5.56, 1.41)
CIE-LCHlch(52.10, 5.73, 14.28°)
OKLaboklab(58.91% 0.0169 0.0038)
OKLCHoklch(58.91% 0.017 12.7)
XYZxyz(20.3416, 20.2311, 21.2420)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87797A #798786
analogous
#877981 #87797A #877F79
triadic
#87797A #7A8779 #797A87
tetradic
#87797A #818779 #798786 #7F7987
square
#87797A #818779 #798786 #7F7987
split-complementary
#87797A #79877F #798187
monochromatic
#463F40 #675C5D #87797A #A4999A #C1BABA

Accessibility & contrast

On white

4.16
#87797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#87797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87797A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87797A#FFFFFF#000000##000000
##87797A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7A
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#8A7879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #87797a;
/* rgb */ color: rgb(135, 121, 122);
/* oklch */ color: oklch(58.9% 0.017 12.7);
Tailwind
colors: {
  custom: {
    50: '#aa9fa0',
    500: '#87797a',
    950: '#000000',
  },
}
SCSS
$custom: #87797a;
$custom-light: #aa9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#87797a",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 355.714,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.01734,
    "h": 12.7
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#87797A
secondary
#ABB1B1
accent
#AFAB79
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #87797A

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

Preview Lab → · Contrast checker → · Palette generator →

#87797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva