#877C8B#877C8B

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

Color values

HEX#877C8B
RGBrgb(135, 124, 139)
HSLhsl(284, 6%, 52%)
HSVhsv(284, 11%, 55%)
CMYKcmyk(2.9%, 10.8%, 0%, 45.5%)
CIE-LABlab(53.42, 7.12, -6.59)
CIE-LCHlch(53.42, 9.71, 317.22°)
OKLaboklab(60.11% 0.0189 -0.0176)
OKLCHoklch(60.11% 0.026 317.1)
XYZxyz(21.8588, 21.4304, 27.4060)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C8B #808B7C
analogous
#807C8B #877C8B #8B7C88
triadic
#877C8B #8B877C #7C8B87
tetradic
#877C8B #8B807C #808B7C #7C888B
square
#877C8B #8B807C #808B7C #7C888B
split-complementary
#877C8B #888B7C #7C8B80
monochromatic
#48424B #685F6B #877C8B #A59CA8 #C2BDC4

Accessibility & contrast

On white

3.97
#877C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#877C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C8B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C8B#FFFFFF#000000##000000
##877C8B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7F8C
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#877D81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #877c8b;
/* rgb */ color: rgb(135, 124, 139);
/* oklch */ color: oklch(60.1% 0.026 317.1);
Tailwind
colors: {
  custom: {
    50: '#aaa1ac',
    500: '#877c8b',
    950: '#000000',
  },
}
SCSS
$custom: #877c8b;
$custom-light: #aaa1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#877c8b",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 284,
    "s": 6.073,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.02585,
    "h": 317.1
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#877C8B
secondary
#B0B5AE
accent
#AF7987
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #877C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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