#8A808B#8A808B

#8A808B is a mid, muted grey. Relative luminance 0.227; OKLCH L 61.2% C 0.020 H 323.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A808B
RGBrgb(138, 128, 139)
HSLhsl(295, 5%, 52%)
HSVhsv(295, 8%, 55%)
CMYKcmyk(0.7%, 7.9%, 0%, 45.5%)
CIE-LABlab(54.77, 5.91, -4.56)
CIE-LCHlch(54.77, 7.46, 322.34°)
OKLaboklab(61.23% 0.0161 -0.0121)
OKLCHoklch(61.23% 0.02 323.1)
XYZxyz(22.8599, 22.7059, 27.5995)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A808B #818B80
analogous
#85808B #8A808B #8B8087
triadic
#8A808B #8B8A80 #808B8A
tetradic
#8A808B #8B8580 #818B80 #80878B
square
#8A808B #8B8580 #818B80 #80878B
split-complementary
#8A808B #878B80 #808B85
monochromatic
#4B454C #6B626C #8A808B #A7A0A8 #C5C0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A808B#FFFFFF#000000##000000
##8A808B1.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)
#7F828C
Deuteranopia (green-blind)
#81838B
Tritanopia (blue-blind)
#8B8184
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a808b;
/* rgb */ color: rgb(138, 128, 139);
/* oklch */ color: oklch(61.2% 0.020 323.1);
Tailwind
colors: {
  custom: {
    50: '#aca4ac',
    500: '#8a808b',
    950: '#000000',
  },
}
SCSS
$custom: #8a808b;
$custom-light: #aca4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a808b",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 139
  },
  "hsl": {
    "h": 294.545,
    "s": 4.527,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.02015,
    "h": 323.1
  },
  "luminance": 0.22706
}

Semantic roles & 50–950 ramp

primary
#8A808B
secondary
#B1B6B1
accent
#AE7A7F
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A808B

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

Preview Lab → · Contrast checker → · Palette generator →

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