#8A8082#8A8082

#8A8082 is a mid, near-neutral grey. Relative luminance 0.225; OKLCH L 60.9% C 0.012 H 3.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A8082
RGBrgb(138, 128, 130)
HSLhsl(348, 4%, 52%)
HSVhsv(348, 7%, 54%)
CMYKcmyk(0%, 7.2%, 5.8%, 45.9%)
CIE-LABlab(54.51, 4.16, 0.28)
CIE-LCHlch(54.51, 4.17, 3.90°)
OKLaboklab(60.94% 0.0124 0.0008)
OKLCHoklch(60.94% 0.012 3.7)
XYZxyz(22.2292, 22.4536, 24.2777)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8082 #808A88
analogous
#8A8087 #8A8082 #8A8380
triadic
#8A8082 #828A80 #80828A
tetradic
#8A8082 #878A80 #808A88 #83808A
square
#8A8082 #878A80 #808A88 #83808A
split-complementary
#8A8082 #808A83 #80878A
monochromatic
#4B4546 #6B6264 #8A8082 #A7A0A1 #C5C0C1

Accessibility & contrast

On white

3.82
#8A8082 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A8082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8082
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8082#FFFFFF#000000##000000
##8A80821.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#818182
Deuteranopia (green-blind)
#838382
Tritanopia (blue-blind)
#8C7F81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8082;
/* rgb */ color: rgb(138, 128, 130);
/* oklch */ color: oklch(60.9% 0.012 3.7);
Tailwind
colors: {
  custom: {
    50: '#aca4a6',
    500: '#8a8082',
    950: '#000000',
  },
}
SCSS
$custom: #8a8082;
$custom-light: #aca4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8082",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 130
  },
  "hsl": {
    "h": 348,
    "s": 4.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.01248,
    "h": 3.7
  },
  "luminance": 0.22453
}

Semantic roles & 50–950 ramp

primary
#8A8082
secondary
#B1B5B4
accent
#ADA37B
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A8082

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

Preview Lab → · Contrast checker → · Palette generator →

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