#AFA5AB#AFA5AB

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

Color values

HEX#AFA5AB
RGBrgb(175, 165, 171)
HSLhsl(324, 6%, 67%)
HSVhsv(324, 6%, 69%)
CMYKcmyk(0%, 5.7%, 2.3%, 31.4%)
CIE-LABlab(68.73, 4.70, -1.80)
CIE-LCHlch(68.73, 5.04, 339.05°)
OKLaboklab(73.22% 0.0134 -0.0047)
OKLCHoklch(73.22% 0.014 340.6)
XYZxyz(38.4840, 38.9648, 44.0138)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5AB #A5AFA9
analogous
#AEA5AF #AFA5AB #AFA5A6
triadic
#AFA5AB #ABAFA5 #A5ABAF
tetradic
#AFA5AB #AFAEA5 #A5AFA9 #A5A6AF
square
#AFA5AB #AFAEA5 #A5AFA9 #A5A6AF
split-complementary
#AFA5AB #A6AFA5 #A5AFAE
monochromatic
#73666E #92858D #AFA5AB #CCC5C9 #E9E6E7

Accessibility & contrast

On white

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

On black

8.79
#AFA5AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5AB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5AB#FFFFFF#000000##000000
##AFA5AB1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa5ab;
/* rgb */ color: rgb(175, 165, 171);
/* oklch */ color: oklch(73.2% 0.014 340.6);
Tailwind
colors: {
  custom: {
    50: '#c6bfc4',
    500: '#afa5ab',
    950: '#000000',
  },
}
SCSS
$custom: #afa5ab;
$custom-light: #c6bfc4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5ab",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 171
  },
  "hsl": {
    "h": 324,
    "s": 5.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.73217,
    "c": 0.01424,
    "h": 340.6
  },
  "luminance": 0.38965
}

Semantic roles & 50–950 ramp

primary
#AFA5AB
secondary
#D6DAD8
accent
#906D56
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA5AB

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

Preview Lab → · Contrast checker → · Palette generator →

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