#877B8A#877B8A

#877B8A is a mid, muted grey. Relative luminance 0.212; OKLCH L 59.9% C 0.026 H 319.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#877B8A
RGBrgb(135, 123, 138)
HSLhsl(288, 6%, 51%)
HSVhsv(288, 11%, 54%)
CMYKcmyk(2.2%, 10.9%, 0%, 45.9%)
CIE-LABlab(53.12, 7.50, -6.46)
CIE-LCHlch(53.12, 9.90, 319.27°)
OKLaboklab(59.87% 0.0201 -0.0172)
OKLCHoklch(59.87% 0.027 319.5)
XYZxyz(21.6614, 21.1520, 26.9814)
Luminance0.2115 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B8A #7E8A7B
analogous
#7F7B8A #877B8A #8A7B85
triadic
#877B8A #8A877B #7B8A87
tetradic
#877B8A #8A7F7B #7E8A7B #7B858A
square
#877B8A #8A7F7B #7E8A7B #7B858A
split-complementary
#877B8A #858A7B #7B8A7F
monochromatic
#484149 #685E6A #877B8A #A49BA7 #C2BCC4

Accessibility & contrast

On white

4.01
#877B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#877B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B8A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B8A#FFFFFF#000000##000000
##877B8A1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7E8B
Deuteranopia (green-blind)
#7C7F89
Tritanopia (blue-blind)
#877C80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #877b8a;
/* rgb */ color: rgb(135, 123, 138);
/* oklch */ color: oklch(59.9% 0.026 319.5);
Tailwind
colors: {
  custom: {
    50: '#aaa1ac',
    500: '#877b8a',
    950: '#000000',
  },
}
SCSS
$custom: #877b8a;
$custom-light: #aaa1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#877b8a",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 288,
    "s": 6.024,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.0265,
    "h": 319.5
  },
  "luminance": 0.21152
}

Semantic roles & 50–950 ramp

primary
#877B8A
secondary
#AEB4AD
accent
#AF7984
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #877B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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