#87787E#87787E

#87787E is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.8% C 0.020 H 351.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#87787E
RGBrgb(135, 120, 126)
HSLhsl(336, 6%, 50%)
HSVhsv(336, 11%, 53%)
CMYKcmyk(0%, 11.1%, 6.7%, 47.1%)
CIE-LABlab(51.94, 6.88, -1.16)
CIE-LCHlch(51.94, 6.98, 350.40°)
OKLaboklab(58.83% 0.0202 -0.003)
OKLCHoklch(58.83% 0.02 351.6)
XYZxyz(20.4737, 20.0905, 22.5339)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87787E #788781
analogous
#877885 #87787E #877A78
triadic
#87787E #7E8778 #787E87
tetradic
#87787E #858778 #788781 #7A7887
square
#87787E #858778 #788781 #7A7887
split-complementary
#87787E #78877A #788587
monochromatic
#463E42 #675B60 #87787E #A4989D #C1B9BC

Accessibility & contrast

On white

4.18
#87787E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#87787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87787E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87787E#FFFFFF#000000##000000
##87787E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#7C7D7E
Tritanopia (blue-blind)
#8A787A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #87787e;
/* rgb */ color: rgb(135, 120, 126);
/* oklch */ color: oklch(58.8% 0.020 351.6);
Tailwind
colors: {
  custom: {
    50: '#aa9fa3',
    500: '#87787e',
    950: '#000000',
  },
}
SCSS
$custom: #87787e;
$custom-light: #aa9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#87787e",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 336,
    "s": 5.882,
    "l": 50
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.02041,
    "h": 351.6
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#87787E
secondary
#AAB1AE
accent
#AF9979
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #87787E

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

Preview Lab → · Contrast checker → · Palette generator →

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