#877A8A#877A8A

#877A8A is a mid, muted grey. Relative luminance 0.209; OKLCH L 59.7% C 0.028 H 319.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#877A8A
RGBrgb(135, 122, 138)
HSLhsl(289, 6%, 51%)
HSVhsv(289, 12%, 54%)
CMYKcmyk(2.2%, 11.6%, 0%, 45.9%)
CIE-LABlab(52.85, 8.08, -6.86)
CIE-LCHlch(52.85, 10.60, 319.68°)
OKLaboklab(59.66% 0.0217 -0.0183)
OKLCHoklch(59.66% 0.028 319.9)
XYZxyz(21.5380, 20.9051, 26.9403)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A8A #7D8A7A
analogous
#7F7A8A #877A8A #8A7A85
triadic
#877A8A #8A877A #7A8A87
tetradic
#877A8A #8A7F7A #7D8A7A #7A858A
square
#877A8A #8A7F7A #7D8A7A #7A858A
split-complementary
#877A8A #858A7A #7A8A7F
monochromatic
#484049 #675D6A #877A8A #A49BA7 #C2BBC3

Accessibility & contrast

On white

4.05
#877A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#877A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A8A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A8A#FFFFFF#000000##000000
##877A8A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#797D8B
Deuteranopia (green-blind)
#7B7F89
Tritanopia (blue-blind)
#877B7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #877a8a;
/* rgb */ color: rgb(135, 122, 138);
/* oklch */ color: oklch(59.7% 0.028 319.9);
Tailwind
colors: {
  custom: {
    50: '#aaa0ac',
    500: '#877a8a',
    950: '#000000',
  },
}
SCSS
$custom: #877a8a;
$custom-light: #aaa0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#877a8a",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 288.75,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.02842,
    "h": 319.9
  },
  "luminance": 0.20905
}

Semantic roles & 50–950 ramp

primary
#877A8A
secondary
#AEB3AC
accent
#AF7883
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #877A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#877A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva