#877F8A#877F8A

#877F8A is a mid, near-neutral grey. Relative luminance 0.222; OKLCH L 60.7% C 0.019 H 316.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#877F8A
RGBrgb(135, 127, 138)
HSLhsl(284, 4%, 52%)
HSVhsv(284, 8%, 54%)
CMYKcmyk(2.2%, 8%, 0%, 45.9%)
CIE-LABlab(54.20, 5.18, -4.85)
CIE-LCHlch(54.20, 7.09, 316.92°)
OKLaboklab(60.71% 0.0138 -0.0129)
OKLCHoklch(60.71% 0.019 316.9)
XYZxyz(22.1678, 22.1647, 27.1502)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F8A #828A7F
analogous
#827F8A #877F8A #8A7F88
triadic
#877F8A #8A877F #7F8A87
tetradic
#877F8A #8A827F #828A7F #7F888A
square
#877F8A #8A827F #828A7F #7F888A
split-complementary
#877F8A #888A7F #7F8A82
monochromatic
#49444B #68616A #877F8A #A59FA7 #C3BFC4

Accessibility & contrast

On white

3.87
#877F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#877F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F8A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F8A#FFFFFF#000000##000000
##877F8A1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#7F828A
Tritanopia (blue-blind)
#878083
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877f8a;
/* rgb */ color: rgb(135, 127, 138);
/* oklch */ color: oklch(60.7% 0.019 316.9);
Tailwind
colors: {
  custom: {
    50: '#aaa4ac',
    500: '#877f8a',
    950: '#000000',
  },
}
SCSS
$custom: #877f8a;
$custom-light: #aaa4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#877f8a",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 283.636,
    "s": 4.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.01888,
    "h": 316.9
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

primary
#877F8A
secondary
#B1B5B0
accent
#AE7A88
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #877F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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