#8A8A87#8A8A87

#8A8A87 is a light, near-neutral grey. Relative luminance 0.253; OKLCH L 63.3% C 0.004 H 106.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A8A87
RGBrgb(138, 138, 135)
HSLhsl(60, 1%, 54%)
HSVhsv(60, 2%, 54%)
CMYKcmyk(0%, 0%, 2.2%, 45.9%)
CIE-LABlab(57.40, -0.58, 1.60)
CIE-LCHlch(57.40, 1.71, 109.97°)
OKLaboklab(63.25% -0.0013 0.0042)
OKLCHoklch(63.25% 0.004 106.6)
XYZxyz(23.9422, 25.3295, 26.5447)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A87 #87878A
analogous
#8A8887 #8A8A87 #888A87
triadic
#8A8A87 #878A8A #8A878A
tetradic
#8A8A87 #878A88 #87878A #8A8788
square
#8A8A87 #878A88 #87878A #8A8788
split-complementary
#8A8A87 #87888A #88878A
monochromatic
#4C4C4A #6B6B69 #8A8A87 #A8A8A6 #C6C6C5

Accessibility & contrast

On white

3.46
#8A8A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8A8A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A87
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A87#FFFFFF#000000##000000
##8A8A871.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8A87
Deuteranopia (green-blind)
#8B8A87
Tritanopia (blue-blind)
#8B8A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8a87;
/* rgb */ color: rgb(138, 138, 135);
/* oklch */ color: oklch(63.3% 0.004 106.6);
Tailwind
colors: {
  custom: {
    50: '#acaca9',
    500: '#8a8a87',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a87;
$custom-light: #acaca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a87",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 1.266,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63251,
    "c": 0.00441,
    "h": 106.6
  },
  "luminance": 0.2533
}

Semantic roles & 50–950 ramp

primary
#8A8A87
secondary
#B6B6B7
accent
#7DAB7D
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8A8A87

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

Preview Lab → · Contrast checker → · Palette generator →

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