#AFA4AB#AFA4AB

#AFA4AB is a light, near-neutral grey. Relative luminance 0.386; OKLCH L 73.0% C 0.016 H 339.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AFA4AB
RGBrgb(175, 164, 171)
HSLhsl(322, 6%, 66%)
HSVhsv(322, 6%, 69%)
CMYKcmyk(0%, 6.3%, 2.3%, 31.4%)
CIE-LABlab(68.46, 5.25, -2.18)
CIE-LCHlch(68.46, 5.69, 337.43°)
OKLaboklab(73.01% 0.015 -0.0057)
OKLCHoklch(73.01% 0.016 339.1)
XYZxyz(38.3043, 38.6055, 43.9539)
Luminance0.3861 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4AB #A4AFA8
analogous
#AEA4AF #AFA4AB #AFA4A6
triadic
#AFA4AB #ABAFA4 #A4ABAF
tetradic
#AFA4AB #AFAEA4 #A4AFA8 #A4A6AF
square
#AFA4AB #AFAEA4 #A4AFA8 #A4A6AF
split-complementary
#AFA4AB #A6AFA4 #A4AFAE
monochromatic
#73656E #92838D #AFA4AB #CCC5C9 #E8E5E7

Accessibility & contrast

On white

2.41
#AFA4AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#AFA4AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4AB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4AB#FFFFFF#000000##000000
##AFA4AB1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A6AB
Deuteranopia (green-blind)
#A7A8AB
Tritanopia (blue-blind)
#B1A4A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa4ab;
/* rgb */ color: rgb(175, 164, 171);
/* oklch */ color: oklch(73.0% 0.016 339.1);
Tailwind
colors: {
  custom: {
    50: '#c6bfc4',
    500: '#afa4ab',
    950: '#000000',
  },
}
SCSS
$custom: #afa4ab;
$custom-light: #c6bfc4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4ab",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 171
  },
  "hsl": {
    "h": 321.818,
    "s": 6.433,
    "l": 66.471
  },
  "oklch": {
    "l": 0.73012,
    "c": 0.01603,
    "h": 339.1
  },
  "luminance": 0.38605
}

Semantic roles & 50–950 ramp

primary
#AFA4AB
secondary
#D6D9D7
accent
#906B55
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA4AB

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

Preview Lab → · Contrast checker → · Palette generator →

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