#87797F#87797F

#87797F is a mid, near-neutral grey. Relative luminance 0.204; OKLCH L 59.1% C 0.019 H 349.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#87797F
RGBrgb(135, 121, 127)
HSLhsl(334, 6%, 50%)
HSVhsv(334, 10%, 53%)
CMYKcmyk(0%, 10.4%, 5.9%, 47.1%)
CIE-LABlab(52.24, 6.49, -1.31)
CIE-LCHlch(52.24, 6.62, 348.58°)
OKLaboklab(59.07% 0.019 -0.0034)
OKLCHoklch(59.07% 0.019 349.9)
XYZxyz(20.6594, 20.3583, 22.9158)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87797F #798781
analogous
#877986 #87797F #877A79
triadic
#87797F #7F8779 #797F87
tetradic
#87797F #868779 #798781 #7A7987
square
#87797F #868779 #798781 #7A7987
split-complementary
#87797F #79877A #798687
monochromatic
#463F42 #675C61 #87797F #A4999E #C1BABD

Accessibility & contrast

On white

4.14
#87797F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#87797F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87797F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87797F#FFFFFF#000000##000000
##87797F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B7F
Deuteranopia (green-blind)
#7D7D7F
Tritanopia (blue-blind)
#89797B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #87797f;
/* rgb */ color: rgb(135, 121, 127);
/* oklch */ color: oklch(59.1% 0.019 349.9);
Tailwind
colors: {
  custom: {
    50: '#aa9fa4',
    500: '#87797f',
    950: '#000000',
  },
}
SCSS
$custom: #87797f;
$custom-light: #aa9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#87797f",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 334.286,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.01927,
    "h": 349.9
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#87797F
secondary
#ABB1AE
accent
#AF9879
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #87797F

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

Preview Lab → · Contrast checker → · Palette generator →

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