#87787A#87787A

#87787A is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.7% C 0.019 H 8.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#87787A
RGBrgb(135, 120, 122)
HSLhsl(352, 6%, 50%)
HSVhsv(352, 11%, 53%)
CMYKcmyk(0%, 11.1%, 9.6%, 47.1%)
CIE-LABlab(51.83, 6.13, 1.02)
CIE-LCHlch(51.83, 6.22, 9.42°)
OKLaboklab(58.7% 0.0185 0.0028)
OKLCHoklch(58.7% 0.019 8.5)
XYZxyz(20.2207, 19.9894, 21.2017)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87787A #788785
analogous
#877881 #87787A #877E78
triadic
#87787A #7A8778 #787A87
tetradic
#87787A #818778 #788785 #7E7887
square
#87787A #818778 #788785 #7E7887
split-complementary
#87787A #78877E #788187
monochromatic
#463E3F #675B5D #87787A #A4989A #C1B9BA

Accessibility & contrast

On white

4.20
#87787A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#87787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87787A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87787A#FFFFFF#000000##000000
##87787A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A7A
Deuteranopia (green-blind)
#7D7D7A
Tritanopia (blue-blind)
#8A7779
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #87787a;
/* rgb */ color: rgb(135, 120, 122);
/* oklch */ color: oklch(58.7% 0.019 8.5);
Tailwind
colors: {
  custom: {
    50: '#aa9fa0',
    500: '#87787a',
    950: '#000000',
  },
}
SCSS
$custom: #87787a;
$custom-light: #aa9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#87787a",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 352,
    "s": 5.882,
    "l": 50
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.01875,
    "h": 8.5
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#87787A
secondary
#AAB1B0
accent
#AFA879
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #87787A

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

Preview Lab → · Contrast checker → · Palette generator →

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