#8A8087#8A8087

#8A8087 is a mid, near-neutral grey. Relative luminance 0.226; OKLCH L 61.1% C 0.016 H 336.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8087
RGBrgb(138, 128, 135)
HSLhsl(318, 4%, 52%)
HSVhsv(318, 7%, 54%)
CMYKcmyk(0%, 7.2%, 2.2%, 45.9%)
CIE-LABlab(54.65, 5.12, -2.41)
CIE-LCHlch(54.65, 5.66, 334.76°)
OKLaboklab(61.1% 0.0145 -0.0063)
OKLCHoklch(61.1% 0.016 336.3)
XYZxyz(22.5730, 22.5911, 26.0883)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8087 #808A83
analogous
#88808A #8A8087 #8A8082
triadic
#8A8087 #878A80 #80878A
tetradic
#8A8087 #8A8880 #808A83 #80828A
square
#8A8087 #8A8880 #808A83 #80828A
split-complementary
#8A8087 #828A80 #808A88
monochromatic
#4B4549 #6B6268 #8A8087 #A7A0A5 #C5C0C3

Accessibility & contrast

On white

3.81
#8A8087 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A8087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8087
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8087#FFFFFF#000000##000000
##8A80871.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808287
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#8B8082
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8087;
/* rgb */ color: rgb(138, 128, 135);
/* oklch */ color: oklch(61.1% 0.016 336.3);
Tailwind
colors: {
  custom: {
    50: '#aca4a9',
    500: '#8a8087',
    950: '#000000',
  },
}
SCSS
$custom: #8a8087;
$custom-light: #aca4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8087",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 135
  },
  "hsl": {
    "h": 318,
    "s": 4.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61097,
    "c": 0.01583,
    "h": 336.3
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

primary
#8A8087
secondary
#B1B5B2
accent
#AD8A7B
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A8087

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

Preview Lab → · Contrast checker → · Palette generator →

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