#87787D#87787D

#87787D is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.8% C 0.020 H 355.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#87787D
RGBrgb(135, 120, 125)
HSLhsl(340, 6%, 50%)
HSVhsv(340, 11%, 53%)
CMYKcmyk(0%, 11.1%, 7.4%, 47.1%)
CIE-LABlab(51.91, 6.69, -0.62)
CIE-LCHlch(51.91, 6.72, 354.71°)
OKLaboklab(58.8% 0.0198 -0.0015)
OKLCHoklch(58.8% 0.02 355.5)
XYZxyz(20.4095, 20.0649, 22.1958)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87787D #788782
analogous
#877884 #87787D #877B78
triadic
#87787D #7D8778 #787D87
tetradic
#87787D #848778 #788782 #7B7887
square
#87787D #848778 #788782 #7B7887
split-complementary
#87787D #78877B #788487
monochromatic
#463E41 #675B5F #87787D #A4989C #C1B9BB

Accessibility & contrast

On white

4.19
#87787D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#87787D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87787D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87787D#FFFFFF#000000##000000
##87787D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#797A7D
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#8A777A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #87787d;
/* rgb */ color: rgb(135, 120, 125);
/* oklch */ color: oklch(58.8% 0.020 355.5);
Tailwind
colors: {
  custom: {
    50: '#aa9fa2',
    500: '#87787d',
    950: '#000000',
  },
}
SCSS
$custom: #87787d;
$custom-light: #aa9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#87787d",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 340,
    "s": 5.882,
    "l": 50
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.01984,
    "h": 355.5
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#87787D
secondary
#AAB1AF
accent
#AF9D79
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0F
muted
#7F7E7E

Preview Lab

Preview with #87787D

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

Preview Lab → · Contrast checker → · Palette generator →

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