#8A808A#8A808A

#8A808A is a mid, near-neutral grey. Relative luminance 0.227; OKLCH L 61.2% C 0.019 H 325.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A808A
RGBrgb(138, 128, 138)
HSLhsl(300, 4%, 52%)
HSVhsv(300, 7%, 54%)
CMYKcmyk(0%, 7.2%, 0%, 45.9%)
CIE-LABlab(54.74, 5.71, -4.02)
CIE-LCHlch(54.74, 6.98, 324.83°)
OKLaboklab(61.2% 0.0157 -0.0107)
OKLCHoklch(61.2% 0.019 325.8)
XYZxyz(22.7872, 22.6768, 27.2164)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A808A #808A80
analogous
#85808A #8A808A #8A8085
triadic
#8A808A #8A8A80 #808A8A
tetradic
#8A808A #8A8580 #808A80 #80858A
square
#8A808A #8A8580 #808A80 #80858A
split-complementary
#8A808A #858A80 #808A85
monochromatic
#4B454B #6B626B #8A808A #A7A0A7 #C5C0C5

Accessibility & contrast

On white

3.79
#8A808A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A808A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A808A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A808A#FFFFFF#000000##000000
##8A808A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F828A
Deuteranopia (green-blind)
#81838A
Tritanopia (blue-blind)
#8B8183
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a808a;
/* rgb */ color: rgb(138, 128, 138);
/* oklch */ color: oklch(61.2% 0.019 325.8);
Tailwind
colors: {
  custom: {
    50: '#aca4ac',
    500: '#8a808a',
    950: '#000000',
  },
}
SCSS
$custom: #8a808a;
$custom-light: #aca4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a808a",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 4.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.01898,
    "h": 325.8
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#8A808A
secondary
#B1B5B1
accent
#AD7B7B
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A808A

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

Preview Lab → · Contrast checker → · Palette generator →

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