#8A8887#8A8887

#8A8887 is a light, near-neutral grey. Relative luminance 0.248; OKLCH L 62.8% C 0.003 H 48.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8887
RGBrgb(138, 136, 135)
HSLhsl(20, 1%, 54%)
HSVhsv(20, 2%, 54%)
CMYKcmyk(0%, 1.4%, 2.2%, 45.9%)
CIE-LABlab(56.84, 0.55, 0.80)
CIE-LCHlch(56.84, 0.97, 55.52°)
OKLaboklab(62.82% 0.0019 0.0021)
OKLCHoklch(62.82% 0.003 48.7)
XYZxyz(23.6579, 24.7609, 26.4500)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8887 #87898A
analogous
#8A8787 #8A8887 #8A8987
triadic
#8A8887 #878A88 #88878A
tetradic
#8A8887 #878A87 #87898A #89878A
square
#8A8887 #878A87 #87898A #89878A
split-complementary
#8A8887 #878A89 #87878A
monochromatic
#4C4B4A #6B6969 #8A8887 #A8A7A6 #C6C5C5

Accessibility & contrast

On white

3.53
#8A8887 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A8887 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8887
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8887#FFFFFF#000000##000000
##8A88871.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#898887
Deuteranopia (green-blind)
#898987
Tritanopia (blue-blind)
#8B8888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8887;
/* rgb */ color: rgb(138, 136, 135);
/* oklch */ color: oklch(62.8% 0.003 48.7);
Tailwind
colors: {
  custom: {
    50: '#acaaa9',
    500: '#8a8887',
    950: '#000000',
  },
}
SCSS
$custom: #8a8887;
$custom-light: #acaaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8887",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 135
  },
  "hsl": {
    "h": 20,
    "s": 1.266,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.00282,
    "h": 48.7
  },
  "luminance": 0.24761
}

Semantic roles & 50–950 ramp

primary
#8A8887
secondary
#B6B7B7
accent
#9BAB7D
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8A8887

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

Preview Lab → · Contrast checker → · Palette generator →

#8A8887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva