#AFA8A5#AFA8A5

#AFA8A5 is a light, near-neutral grey. Relative luminance 0.398; OKLCH L 73.7% C 0.009 H 44.8°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AFA8A5
RGBrgb(175, 168, 165)
HSLhsl(18, 6%, 67%)
HSVhsv(18, 6%, 69%)
CMYKcmyk(0%, 4%, 5.7%, 31.4%)
CIE-LABlab(69.35, 1.96, 2.44)
CIE-LCHlch(69.35, 3.13, 51.18°)
OKLaboklab(73.66% 0.0065 0.0065)
OKLCHoklch(73.66% 0.009 44.8)
XYZxyz(38.4725, 39.8361, 41.2524)
Luminance0.3984 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8A5 #A5ACAF
analogous
#AFA5A7 #AFA8A5 #AFADA5
triadic
#AFA8A5 #A5AFA8 #A8A5AF
tetradic
#AFA8A5 #A7AFA5 #A5ACAF #ADA5AF
square
#AFA8A5 #A7AFA5 #A5ACAF #ADA5AF
split-complementary
#AFA8A5 #A5AFAD #A5A7AF
monochromatic
#736A66 #928985 #AFA8A5 #CCC7C5 #E9E7E6

Accessibility & contrast

On white

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

On black

8.97
#AFA8A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8A5
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8A5#FFFFFF#000000##000000
##AFA8A51.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA9A5
Deuteranopia (green-blind)
#ABAAA5
Tritanopia (blue-blind)
#B1A7A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa8a5;
/* rgb */ color: rgb(175, 168, 165);
/* oklch */ color: oklch(73.7% 0.009 44.8);
Tailwind
colors: {
  custom: {
    50: '#c6c1bf',
    500: '#afa8a5',
    950: '#000000',
  },
}
SCSS
$custom: #afa8a5;
$custom-light: #c6c1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8a5",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 165
  },
  "hsl": {
    "h": 18,
    "s": 5.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.73655,
    "c": 0.00918,
    "h": 44.8
  },
  "luminance": 0.39836
}

Semantic roles & 50–950 ramp

primary
#AFA8A5
secondary
#D6D9DA
accent
#7E9056
background
#FCFBFB
surface
#F8F7F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8A5

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

Preview Lab → · Contrast checker → · Palette generator →

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