#87797E#87797E

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

Color values

HEX#87797E
RGBrgb(135, 121, 126)
HSLhsl(339, 6%, 50%)
HSVhsv(339, 10%, 53%)
CMYKcmyk(0%, 10.4%, 6.7%, 47.1%)
CIE-LABlab(52.21, 6.30, -0.77)
CIE-LCHlch(52.21, 6.35, 353.06°)
OKLaboklab(59.04% 0.0186 -0.0019)
OKLCHoklch(59.04% 0.019 354)
XYZxyz(20.5945, 20.3323, 22.5742)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87797E #798782
analogous
#877985 #87797E #877B79
triadic
#87797E #7E8779 #797E87
tetradic
#87797E #858779 #798782 #7B7987
square
#87797E #858779 #798782 #7B7987
split-complementary
#87797E #79877B #798587
monochromatic
#463F42 #675C60 #87797E #A4999D #C1BABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87797E#FFFFFF#000000##000000
##87797E1.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)
#7A7B7E
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#8A797B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #87797e;
/* rgb */ color: rgb(135, 121, 126);
/* oklch */ color: oklch(59.0% 0.019 354.0);
Tailwind
colors: {
  custom: {
    50: '#aa9fa3',
    500: '#87797e',
    950: '#000000',
  },
}
SCSS
$custom: #87797e;
$custom-light: #aa9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#87797e",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 338.571,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.01867,
    "h": 354
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#87797E
secondary
#ABB1AF
accent
#AF9C79
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #87797E

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

Preview Lab → · Contrast checker → · Palette generator →

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