#AFA6AC#AFA6AC

#AFA6AC is a light, near-neutral grey. Relative luminance 0.394; OKLCH L 73.5% C 0.013 H 337.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AFA6AC
RGBrgb(175, 166, 172)
HSLhsl(320, 5%, 67%)
HSVhsv(320, 5%, 69%)
CMYKcmyk(0%, 5.1%, 1.7%, 31.4%)
CIE-LABlab(69.02, 4.34, -1.93)
CIE-LCHlch(69.02, 4.75, 336.02°)
OKLaboklab(73.45% 0.0123 -0.0051)
OKLCHoklch(73.45% 0.013 337.6)
XYZxyz(38.7607, 39.3652, 44.5780)
Luminance0.3936 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6AC #A6AFA9
analogous
#AEA6AF #AFA6AC #AFA6A8
triadic
#AFA6AC #ACAFA6 #A6ACAF
tetradic
#AFA6AC #AFAEA6 #A6AFA9 #A6A8AF
square
#AFA6AC #AFAEA6 #A6AFA9 #A6A8AF
split-complementary
#AFA6AC #A8AFA6 #A6AFAE
monochromatic
#73676F #92868E #AFA6AC #CCC6CA #E9E6E8

Accessibility & contrast

On white

2.37
#AFA6AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AFA6AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6AC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6AC#FFFFFF#000000##000000
##AFA6AC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa6ac;
/* rgb */ color: rgb(175, 166, 172);
/* oklch */ color: oklch(73.5% 0.013 337.6);
Tailwind
colors: {
  custom: {
    50: '#c6c0c4',
    500: '#afa6ac',
    950: '#000000',
  },
}
SCSS
$custom: #afa6ac;
$custom-light: #c6c0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6ac",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 172
  },
  "hsl": {
    "h": 320,
    "s": 5.325,
    "l": 66.863
  },
  "oklch": {
    "l": 0.73452,
    "c": 0.01332,
    "h": 337.6
  },
  "luminance": 0.39365
}

Semantic roles & 50–950 ramp

primary
#AFA6AC
secondary
#D7DAD8
accent
#8F6956
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA6AC

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

Preview Lab → · Contrast checker → · Palette generator →

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