#877E7E#877E7E

#877E7E is a mid, near-neutral grey. Relative luminance 0.216; OKLCH L 60.1% C 0.011 H 17.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#877E7E
RGBrgb(135, 126, 126)
HSLhsl(0, 4%, 51%)
HSVhsv(0, 7%, 53%)
CMYKcmyk(0%, 6.7%, 6.7%, 47.1%)
CIE-LABlab(53.58, 3.41, 1.23)
CIE-LCHlch(53.58, 3.62, 19.80°)
OKLaboklab(60.11% 0.0105 0.0033)
OKLCHoklch(60.11% 0.011 17.5)
XYZxyz(21.2180, 21.5792, 22.7821)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E7E #7E8787
analogous
#877E82 #877E7E #87827E
triadic
#877E7E #7E877E #7E7E87
tetradic
#877E7E #82877E #7E8787 #827E87
square
#877E7E #82877E #7E8787 #827E87
split-complementary
#877E7E #7E8782 #7E8287
monochromatic
#484343 #686060 #877E7E #A49E9E #C2BDBD

Accessibility & contrast

On white

3.95
#877E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#877E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E7E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E7E#FFFFFF#000000##000000
##877E7E1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7F7E
Deuteranopia (green-blind)
#81817E
Tritanopia (blue-blind)
#897D7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #877e7e;
/* rgb */ color: rgb(135, 126, 126);
/* oklch */ color: oklch(60.1% 0.011 17.5);
Tailwind
colors: {
  custom: {
    50: '#aaa3a3',
    500: '#877e7e',
    950: '#000000',
  },
}
SCSS
$custom: #877e7e;
$custom-light: #aaa3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#877e7e",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 0,
    "s": 3.614,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6011,
    "c": 0.01099,
    "h": 17.5
  },
  "luminance": 0.21579
}

Semantic roles & 50–950 ramp

primary
#877E7E
secondary
#AEB2B2
accent
#ADAD7B
background
#FAFAFA
surface
#F4F3F3
border
#CECDCD
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #877E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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