#87787F#87787F

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

Color values

HEX#87787F
RGBrgb(135, 120, 127)
HSLhsl(332, 6%, 50%)
HSVhsv(332, 11%, 53%)
CMYKcmyk(0%, 11.1%, 5.9%, 47.1%)
CIE-LABlab(51.97, 7.07, -1.71)
CIE-LCHlch(51.97, 7.28, 346.42°)
OKLaboklab(58.86% 0.0206 -0.0044)
OKLCHoklch(58.86% 0.021 347.8)
XYZxyz(20.5385, 20.1165, 22.8755)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87787F #788780
analogous
#877886 #87787F #877978
triadic
#87787F #7F8778 #787F87
tetradic
#87787F #868778 #788780 #797887
square
#87787F #868778 #788780 #797887
split-complementary
#87787F #788779 #788687
monochromatic
#463E42 #675B61 #87787F #A4989E #C1B9BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87787F#FFFFFF#000000##000000
##87787F1.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)
#797B7F
Deuteranopia (green-blind)
#7C7D7F
Tritanopia (blue-blind)
#89787A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #87787f;
/* rgb */ color: rgb(135, 120, 127);
/* oklch */ color: oklch(58.9% 0.021 347.8);
Tailwind
colors: {
  custom: {
    50: '#aa9fa4',
    500: '#87787f',
    950: '#000000',
  },
}
SCSS
$custom: #87787f;
$custom-light: #aa9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#87787f",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 332,
    "s": 5.882,
    "l": 50
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.02107,
    "h": 347.8
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#87787F
secondary
#AAB1AE
accent
#AF9679
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #87787F

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

Preview Lab → · Contrast checker → · Palette generator →

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