#8A8A8A#8A8A8A

#8A8A8A is a light, near-neutral grey. Relative luminance 0.254; OKLCH L 63.3% C 0.000 H 0.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A8A8A
RGBrgb(138, 138, 138)
HSLhsl(0, 0%, 54%)
HSVhsv(0, 0%, 54%)
CMYKcmyk(0%, 0%, 0%, 45.9%)
CIE-LABlab(57.48, 0.00, 0.00)
CIE-LCHlch(57.48, 0.00, 0.00°)
OKLaboklab(63.34% 0 0)
OKLCHoklch(63.34% 0 0)
XYZxyz(24.1564, 25.4152, 27.6728)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A8A #8A8A8A
analogous
#8A8A8A #8A8A8A #8A8A8A
triadic
#8A8A8A #8A8A8A #8A8A8A
tetradic
#8A8A8A #8A8A8A #8A8A8A #8A8A8A
square
#8A8A8A #8A8A8A #8A8A8A #8A8A8A
split-complementary
#8A8A8A #8A8A8A #8A8A8A
monochromatic
#4D4D4D #6B6B6B #8A8A8A #A9A9A9 #C7C7C7

Accessibility & contrast

On white

3.45
#8A8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A8A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A8A#FFFFFF#000000##000000
##8A8A8A1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8a8a;
/* rgb */ color: rgb(138, 138, 138);
/* oklch */ color: oklch(63.3% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#acacac',
    500: '#8a8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a8a;
$custom-light: #acacac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a8a",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63343,
    "c": 0,
    "h": 0
  },
  "luminance": 0.25415
}

Semantic roles & 50–950 ramp

primary
#8A8A8A
secondary
#B8B8B8
accent
#A9A97E
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8A8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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