#AFA8AC#AFA8AC

#AFA8AC is a light, near-neutral grey. Relative luminance 0.401; OKLCH L 73.9% C 0.010 H 341.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AFA8AC
RGBrgb(175, 168, 172)
HSLhsl(326, 4%, 67%)
HSVhsv(326, 4%, 69%)
CMYKcmyk(0%, 4%, 1.7%, 31.4%)
CIE-LABlab(69.54, 3.25, -1.16)
CIE-LCHlch(69.54, 3.45, 340.30°)
OKLaboklab(73.86% 0.0093 -0.003)
OKLCHoklch(73.86% 0.01 341.9)
XYZxyz(39.1271, 40.0980, 44.7002)
Luminance0.4010 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8AC #A8AFAB
analogous
#AFA8AF #AFA8AC #AFA8A9
triadic
#AFA8AC #ACAFA8 #A8ACAF
tetradic
#AFA8AC #AFAFA8 #A8AFAB #A8A9AF
square
#AFA8AC #AFAFA8 #A8AFAB #A8A9AF
split-complementary
#AFA8AC #A9AFA8 #A8AFAF
monochromatic
#736A6F #92888E #AFA8AC #CCC8CA #EAE8E9

Accessibility & contrast

On white

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

On black

9.02
#AFA8AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8AC
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8AC#FFFFFF#000000##000000
##AFA8AC1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa8ac;
/* rgb */ color: rgb(175, 168, 172);
/* oklch */ color: oklch(73.9% 0.010 341.9);
Tailwind
colors: {
  custom: {
    50: '#c6c1c4',
    500: '#afa8ac',
    950: '#000000',
  },
}
SCSS
$custom: #afa8ac;
$custom-light: #c6c1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8ac",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 172
  },
  "hsl": {
    "h": 325.714,
    "s": 4.192,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73863,
    "c": 0.00977,
    "h": 341.9
  },
  "luminance": 0.40098
}

Semantic roles & 50–950 ramp

primary
#AFA8AC
secondary
#D8DBD9
accent
#8E6F57
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8AC

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

Preview Lab → · Contrast checker → · Palette generator →

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