#AFA8AA#AFA8AA

#AFA8AA is a light, near-neutral grey. Relative luminance 0.400; OKLCH L 73.8% C 0.009 H 357.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA8AA
RGBrgb(175, 168, 170)
HSLhsl(343, 4%, 67%)
HSVhsv(343, 4%, 69%)
CMYKcmyk(0%, 4%, 2.9%, 31.4%)
CIE-LABlab(69.49, 2.87, -0.13)
CIE-LCHlch(69.49, 2.88, 357.32°)
OKLaboklab(73.8% 0.0085 -0.0003)
OKLCHoklch(73.8% 0.009 357.9)
XYZxyz(38.9365, 40.0218, 43.6962)
Luminance0.4002 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8AA #A8AFAD
analogous
#AFA8AE #AFA8AA #AFAAA8
triadic
#AFA8AA #AAAFA8 #A8AAAF
tetradic
#AFA8AA #AEAFA8 #A8AFAD #AAA8AF
square
#AFA8AA #AEAFA8 #A8AFAD #AAA8AF
split-complementary
#AFA8AA #A8AFAA #A8AEAF
monochromatic
#736A6C #92888B #AFA8AA #CCC8C9 #EAE8E8

Accessibility & contrast

On white

2.33
#AFA8AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#AFA8AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8AA
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8AA#FFFFFF#000000##000000
##AFA8AA1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A9AA
Deuteranopia (green-blind)
#AAAAAA
Tritanopia (blue-blind)
#B0A8A9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa8aa;
/* rgb */ color: rgb(175, 168, 170);
/* oklch */ color: oklch(73.8% 0.009 357.9);
Tailwind
colors: {
  custom: {
    50: '#c6c1c3',
    500: '#afa8aa',
    950: '#000000',
  },
}
SCSS
$custom: #afa8aa;
$custom-light: #c6c1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8aa",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 170
  },
  "hsl": {
    "h": 342.857,
    "s": 4.192,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73802,
    "c": 0.00851,
    "h": 357.9
  },
  "luminance": 0.40022
}

Semantic roles & 50–950 ramp

primary
#AFA8AA
secondary
#D8DBDA
accent
#8E7E57
background
#FCFBFB
surface
#F8F7F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8AA

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

Preview Lab → · Contrast checker → · Palette generator →

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