#877D7E#877D7E

#877D7E is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 59.9% C 0.012 H 10.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#877D7E
RGBrgb(135, 125, 126)
HSLhsl(354, 4%, 51%)
HSVhsv(354, 7%, 53%)
CMYKcmyk(0%, 7.4%, 6.7%, 47.1%)
CIE-LABlab(53.30, 3.99, 0.83)
CIE-LCHlch(53.30, 4.07, 11.74°)
OKLaboklab(59.9% 0.0121 0.0023)
OKLCHoklch(59.9% 0.012 10.5)
XYZxyz(21.0908, 21.3248, 22.7396)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D7E #7D8786
analogous
#877D83 #877D7E #87817D
triadic
#877D7E #7E877D #7D7E87
tetradic
#877D7E #83877D #7D8786 #817D87
square
#877D7E #83877D #7D8786 #817D87
split-complementary
#877D7E #7D8781 #7D8387
monochromatic
#484243 #675F60 #877D7E #A49D9E #C2BDBD

Accessibility & contrast

On white

3.99
#877D7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#877D7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D7E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D7E#FFFFFF#000000##000000
##877D7E1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7E7E
Deuteranopia (green-blind)
#81807E
Tritanopia (blue-blind)
#897C7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #877d7e;
/* rgb */ color: rgb(135, 125, 126);
/* oklch */ color: oklch(59.9% 0.012 10.5);
Tailwind
colors: {
  custom: {
    50: '#aaa2a3',
    500: '#877d7e',
    950: '#000000',
  },
}
SCSS
$custom: #877d7e;
$custom-light: #aaa2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#877d7e",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 126
  },
  "hsl": {
    "h": 354,
    "s": 4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59895,
    "c": 0.0123,
    "h": 10.5
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#877D7E
secondary
#AEB2B2
accent
#ADA87B
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100F0F
muted
#7F7E7F

Preview Lab

Preview with #877D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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