#87797D#87797D

#87797D is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 59.0% C 0.018 H 358.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#87797D
RGBrgb(135, 121, 125)
HSLhsl(343, 6%, 50%)
HSVhsv(343, 10%, 53%)
CMYKcmyk(0%, 10.4%, 7.4%, 47.1%)
CIE-LABlab(52.18, 6.11, -0.22)
CIE-LCHlch(52.18, 6.12, 357.92°)
OKLaboklab(59.01% 0.0182 -0.0005)
OKLCHoklch(59.01% 0.018 358.4)
XYZxyz(20.5303, 20.3066, 22.2361)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87797D #798783
analogous
#877984 #87797D #877C79
triadic
#87797D #7D8779 #797D87
tetradic
#87797D #848779 #798783 #7C7987
square
#87797D #848779 #798783 #7C7987
split-complementary
#87797D #79877C #798487
monochromatic
#463F41 #675C5F #87797D #A4999C #C1BABC

Accessibility & contrast

On white

4.15
#87797D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#87797D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87797D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87797D#FFFFFF#000000##000000
##87797D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B7D
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#8A787A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #87797d;
/* rgb */ color: rgb(135, 121, 125);
/* oklch */ color: oklch(59.0% 0.018 358.4);
Tailwind
colors: {
  custom: {
    50: '#aa9fa2',
    500: '#87797d',
    950: '#000000',
  },
}
SCSS
$custom: #87797d;
$custom-light: #aa9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#87797d",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 342.857,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5901,
    "c": 0.01816,
    "h": 358.4
  },
  "luminance": 0.20306
}

Semantic roles & 50–950 ramp

primary
#87797D
secondary
#ABB1AF
accent
#AF9F79
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0F
muted
#7F7E7E

Preview Lab

Preview with #87797D

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

Preview Lab → · Contrast checker → · Palette generator →

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