#877C8A#877C8A

#877C8A is a mid, muted grey. Relative luminance 0.214; OKLCH L 60.1% C 0.025 H 319.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#877C8A
RGBrgb(135, 124, 138)
HSLhsl(287, 6%, 51%)
HSVhsv(287, 10%, 54%)
CMYKcmyk(2.2%, 10.1%, 0%, 45.9%)
CIE-LABlab(53.39, 6.92, -6.06)
CIE-LCHlch(53.39, 9.20, 318.81°)
OKLaboklab(60.08% 0.0186 -0.0161)
OKLCHoklch(60.08% 0.025 319)
XYZxyz(21.7861, 21.4013, 27.0230)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C8A #7F8A7C
analogous
#807C8A #877C8A #8A7C86
triadic
#877C8A #8A877C #7C8A87
tetradic
#877C8A #8A807C #7F8A7C #7C868A
square
#877C8A #8A807C #7F8A7C #7C868A
split-complementary
#877C8A #868A7C #7C8A80
monochromatic
#48424A #685F6A #877C8A #A59CA7 #C2BDC4

Accessibility & contrast

On white

3.98
#877C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#877C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C8A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C8A#FFFFFF#000000##000000
##877C8A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7F8B
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#877D81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #877c8a;
/* rgb */ color: rgb(135, 124, 138);
/* oklch */ color: oklch(60.1% 0.025 319.0);
Tailwind
colors: {
  custom: {
    50: '#aaa1ac',
    500: '#877c8a',
    950: '#000000',
  },
}
SCSS
$custom: #877c8a;
$custom-light: #aaa1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#877c8a",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 287.143,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60077,
    "c": 0.02459,
    "h": 319
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

primary
#877C8A
secondary
#AFB4AE
accent
#AF7985
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #877C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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