#AFA5AC#AFA5AC

#AFA5AC is a light, near-neutral grey. Relative luminance 0.390; OKLCH L 73.2% C 0.015 H 336.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#AFA5AC
RGBrgb(175, 165, 172)
HSLhsl(318, 6%, 67%)
HSVhsv(318, 6%, 69%)
CMYKcmyk(0%, 5.7%, 1.7%, 31.4%)
CIE-LABlab(68.75, 4.89, -2.31)
CIE-LCHlch(68.75, 5.41, 334.67°)
OKLaboklab(73.25% 0.0138 -0.0061)
OKLCHoklch(73.25% 0.015 336.2)
XYZxyz(38.5797, 39.0031, 44.5177)
Luminance0.3900 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5AC #A5AFA8
analogous
#ADA5AF #AFA5AC #AFA5A7
triadic
#AFA5AC #ACAFA5 #A5ACAF
tetradic
#AFA5AC #AFADA5 #A5AFA8 #A5A7AF
square
#AFA5AC #AFADA5 #A5AFA8 #A5A7AF
split-complementary
#AFA5AC #A7AFA5 #A5AFAD
monochromatic
#73666F #92858E #AFA5AC #CCC5CA #E9E6E8

Accessibility & contrast

On white

2.39
#AFA5AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#AFA5AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5AC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5AC#FFFFFF#000000##000000
##AFA5AC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa5ac;
/* rgb */ color: rgb(175, 165, 172);
/* oklch */ color: oklch(73.2% 0.015 336.2);
Tailwind
colors: {
  custom: {
    50: '#c6bfc4',
    500: '#afa5ac',
    950: '#000000',
  },
}
SCSS
$custom: #afa5ac;
$custom-light: #c6bfc4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5ac",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 172
  },
  "hsl": {
    "h": 318,
    "s": 5.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.73248,
    "c": 0.01511,
    "h": 336.2
  },
  "luminance": 0.39003
}

Semantic roles & 50–950 ramp

primary
#AFA5AC
secondary
#D6DAD7
accent
#906756
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA5AC

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

Preview Lab → · Contrast checker → · Palette generator →

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