#87787B#87787B

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

Color values

HEX#87787B
RGBrgb(135, 120, 123)
HSLhsl(348, 6%, 50%)
HSVhsv(348, 11%, 53%)
CMYKcmyk(0%, 11.1%, 8.9%, 47.1%)
CIE-LABlab(51.85, 6.32, 0.47)
CIE-LCHlch(51.85, 6.34, 4.27°)
OKLaboklab(58.73% 0.019 0.0013)
OKLCHoklch(58.73% 0.019 4)
XYZxyz(20.2830, 20.0143, 21.5297)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87787B #788784
analogous
#877882 #87787B #877D78
triadic
#87787B #7B8778 #787B87
tetradic
#87787B #828778 #788784 #7D7887
square
#87787B #828778 #788784 #7D7887
split-complementary
#87787B #78877D #788287
monochromatic
#463E40 #675B5D #87787B #A4989B #C1B9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87787B#FFFFFF#000000##000000
##87787B1.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)
#7A7A7B
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#8A7779
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #87787b;
/* rgb */ color: rgb(135, 120, 123);
/* oklch */ color: oklch(58.7% 0.019 4.0);
Tailwind
colors: {
  custom: {
    50: '#aa9fa1',
    500: '#87787b',
    950: '#000000',
  },
}
SCSS
$custom: #87787b;
$custom-light: #aa9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#87787b",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 348,
    "s": 5.882,
    "l": 50
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.01901,
    "h": 4
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#87787B
secondary
#AAB1AF
accent
#AFA479
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #87787B

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

Preview Lab → · Contrast checker → · Palette generator →

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