#877C8D#877C8D

#877C8D is a mid, muted grey. Relative luminance 0.215; OKLCH L 60.2% C 0.028 H 313.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#877C8D
RGBrgb(135, 124, 141)
HSLhsl(279, 7%, 52%)
HSVhsv(279, 12%, 55%)
CMYKcmyk(4.3%, 12.1%, 0%, 44.7%)
CIE-LABlab(53.48, 7.54, -7.66)
CIE-LCHlch(53.48, 10.75, 314.52°)
OKLaboklab(60.18% 0.0197 -0.0205)
OKLCHoklch(60.18% 0.028 313.8)
XYZxyz(22.0063, 21.4894, 28.1827)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C8D #828D7C
analogous
#7F7C8D #877C8D #8D7C8B
triadic
#877C8D #8D877C #7C8D87
tetradic
#877C8D #8D7F7C #828D7C #7C8B8D
square
#877C8D #8D7F7C #828D7C #7C8B8D
split-complementary
#877C8D #8B8D7C #7C8D7F
monochromatic
#49424C #685F6D #877C8D #A59DA9 #C3BDC6

Accessibility & contrast

On white

3.96
#877C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#877C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C8D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C8D#FFFFFF#000000##000000
##877C8D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7F8E
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#877E82
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #877c8d;
/* rgb */ color: rgb(135, 124, 141);
/* oklch */ color: oklch(60.2% 0.028 313.8);
Tailwind
colors: {
  custom: {
    50: '#aaa1ae',
    500: '#877c8d',
    950: '#000000',
  },
}
SCSS
$custom: #877c8d;
$custom-light: #aaa1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#877c8d",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 278.824,
    "s": 6.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60183,
    "c": 0.02845,
    "h": 313.8
  },
  "luminance": 0.21489
}

Semantic roles & 50–950 ramp

primary
#877C8D
secondary
#B1B6AF
accent
#B0788C
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #877C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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