#AFA8A8#AFA8A8

#AFA8A8 is a light, near-neutral grey. Relative luminance 0.399; OKLCH L 73.7% C 0.008 H 17.4°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AFA8A8
RGBrgb(175, 168, 168)
HSLhsl(0, 4%, 67%)
HSVhsv(0, 4%, 69%)
CMYKcmyk(0%, 4%, 4%, 31.4%)
CIE-LABlab(69.43, 2.51, 0.89)
CIE-LCHlch(69.43, 2.66, 19.65°)
OKLaboklab(73.74% 0.0077 0.0024)
OKLCHoklch(73.74% 0.008 17.4)
XYZxyz(38.7487, 39.9467, 42.7073)
Luminance0.3995 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8A8 #A8AFAF
analogous
#AFA8AC #AFA8A8 #AFACA8
triadic
#AFA8A8 #A8AFA8 #A8A8AF
tetradic
#AFA8A8 #ACAFA8 #A8AFAF #ACA8AF
square
#AFA8A8 #ACAFA8 #A8AFAF #ACA8AF
split-complementary
#AFA8A8 #A8AFAC #A8ACAF
monochromatic
#736A6A #928888 #AFA8A8 #CCC8C8 #EAE8E8

Accessibility & contrast

On white

2.34
#AFA8A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AFA8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8A8
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8A8#FFFFFF#000000##000000
##AFA8A81.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A9A8
Deuteranopia (green-blind)
#ABAAA8
Tritanopia (blue-blind)
#B1A7A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa8a8;
/* rgb */ color: rgb(175, 168, 168);
/* oklch */ color: oklch(73.7% 0.008 17.4);
Tailwind
colors: {
  custom: {
    50: '#c6c1c1',
    500: '#afa8a8',
    950: '#000000',
  },
}
SCSS
$custom: #afa8a8;
$custom-light: #c6c1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8a8",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 168
  },
  "hsl": {
    "h": 0,
    "s": 4.192,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73743,
    "c": 0.00808,
    "h": 17.4
  },
  "luminance": 0.39946
}

Semantic roles & 50–950 ramp

primary
#AFA8A8
secondary
#D8DBDB
accent
#8E8E57
background
#FCFBFB
surface
#F8F7F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8A8

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

Preview Lab → · Contrast checker → · Palette generator →

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