#877D8A#877D8A

#877D8A is a mid, muted grey. Relative luminance 0.217; OKLCH L 60.3% C 0.023 H 318.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#877D8A
RGBrgb(135, 125, 138)
HSLhsl(286, 5%, 52%)
HSVhsv(286, 9%, 54%)
CMYKcmyk(2.2%, 9.4%, 0%, 45.9%)
CIE-LABlab(53.66, 6.34, -5.65)
CIE-LCHlch(53.66, 8.49, 318.27°)
OKLaboklab(60.29% 0.017 -0.0151)
OKLCHoklch(60.29% 0.023 318.4)
XYZxyz(21.9120, 21.6533, 27.0650)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D8A #808A7D
analogous
#817D8A #877D8A #8A7D87
triadic
#877D8A #8A877D #7D8A87
tetradic
#877D8A #8A817D #808A7D #7D878A
square
#877D8A #8A817D #808A7D #7D878A
split-complementary
#877D8A #878A7D #7D8A81
monochromatic
#48434A #68606A #877D8A #A59DA7 #C2BDC4

Accessibility & contrast

On white

3.94
#877D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#877D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D8A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D8A#FFFFFF#000000##000000
##877D8A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C808B
Deuteranopia (green-blind)
#7E818A
Tritanopia (blue-blind)
#877E81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #877d8a;
/* rgb */ color: rgb(135, 125, 138);
/* oklch */ color: oklch(60.3% 0.023 318.4);
Tailwind
colors: {
  custom: {
    50: '#aaa2ac',
    500: '#877d8a',
    950: '#000000',
  },
}
SCSS
$custom: #877d8a;
$custom-light: #aaa2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#877d8a",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 286.154,
    "s": 5.263,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.02268,
    "h": 318.4
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#877D8A
secondary
#B0B4AF
accent
#AE7986
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #877D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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