#877E8A#877E8A

#877E8A is a mid, muted grey. Relative luminance 0.219; OKLCH L 60.5% C 0.021 H 317.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#877E8A
RGBrgb(135, 126, 138)
HSLhsl(285, 5%, 52%)
HSVhsv(285, 9%, 54%)
CMYKcmyk(2.2%, 8.7%, 0%, 45.9%)
CIE-LABlab(53.93, 5.76, -5.25)
CIE-LCHlch(53.93, 7.79, 317.65°)
OKLaboklab(60.5% 0.0154 -0.014)
OKLCHoklch(60.5% 0.021 317.7)
XYZxyz(22.0393, 21.9077, 27.1074)
Luminance0.2191 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E8A #818A7E
analogous
#817E8A #877E8A #8A7E87
triadic
#877E8A #8A877E #7E8A87
tetradic
#877E8A #8A817E #818A7E #7E878A
square
#877E8A #8A817E #818A7E #7E878A
split-complementary
#877E8A #878A7E #7E8A81
monochromatic
#49434A #68606A #877E8A #A59EA7 #C3BEC4

Accessibility & contrast

On white

3.90
#877E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#877E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E8A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E8A#FFFFFF#000000##000000
##877E8A1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D808B
Deuteranopia (green-blind)
#7F818A
Tritanopia (blue-blind)
#877F82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #877e8a;
/* rgb */ color: rgb(135, 126, 138);
/* oklch */ color: oklch(60.5% 0.021 317.7);
Tailwind
colors: {
  custom: {
    50: '#aaa3ac',
    500: '#877e8a',
    950: '#000000',
  },
}
SCSS
$custom: #877e8a;
$custom-light: #aaa3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#877e8a",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 285,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.02078,
    "h": 317.7
  },
  "luminance": 0.21908
}

Semantic roles & 50–950 ramp

primary
#877E8A
secondary
#B1B5AF
accent
#AE7A87
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #877E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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