#A8A8A8#A8A8A8

#A8A8A8 is a light, near-neutral grey. Relative luminance 0.392; OKLCH L 73.2% C 0.000 H 0.0°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A8A8A8
RGBrgb(168, 168, 168)
HSLhsl(0, 0%, 66%)
HSVhsv(0, 0%, 66%)
CMYKcmyk(0%, 0%, 0%, 34.1%)
CIE-LABlab(68.87, -0.00, 0.00)
CIE-LCHlch(68.87, 0.00, 180.00°)
OKLaboklab(73.16% 0 0)
OKLCHoklch(73.16% 0 0)
XYZxyz(37.2178, 39.1573, 42.6356)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8A8 #A8A8A8
analogous
#A8A8A8 #A8A8A8 #A8A8A8
triadic
#A8A8A8 #A8A8A8 #A8A8A8
tetradic
#A8A8A8 #A8A8A8 #A8A8A8 #A8A8A8
square
#A8A8A8 #A8A8A8 #A8A8A8 #A8A8A8
split-complementary
#A8A8A8 #A8A8A8 #A8A8A8
monochromatic
#6B6B6B #898989 #A8A8A8 #C7C7C7 #E5E5E5

Accessibility & contrast

On white

2.38
#A8A8A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A8A8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8A8
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8A8#FFFFFF#000000##000000
##A8A8A81.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a8a8;
/* rgb */ color: rgb(168, 168, 168);
/* oklch */ color: oklch(73.2% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#c1c1c1',
    500: '#a8a8a8',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8a8;
$custom-light: #c1c1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8a8",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 168
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 65.882
  },
  "oklch": {
    "l": 0.73159,
    "c": 0,
    "h": 0
  },
  "luminance": 0.39157
}

Semantic roles & 50–950 ramp

primary
#A8A8A8
secondary
#D6D6D6
accent
#8A8A5C
background
#FBFBFB
surface
#F7F7F7
border
#D0D0D0
text
#121212
muted
#818181

Preview Lab

Preview with #A8A8A8

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

Preview Lab → · Contrast checker → · Palette generator →

#A8A8A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva