#AFA9AB#AFA9AB

#AFA9AB is a light, near-neutral grey. Relative luminance 0.404; OKLCH L 74.0% C 0.007 H 354.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA9AB
RGBrgb(175, 169, 171)
HSLhsl(340, 4%, 67%)
HSVhsv(340, 3%, 69%)
CMYKcmyk(0%, 3.4%, 2.3%, 31.4%)
CIE-LABlab(69.78, 2.51, -0.26)
CIE-LCHlch(69.78, 2.53, 354.00°)
OKLaboklab(74.04% 0.0074 -0.0007)
OKLCHoklch(74.04% 0.007 354.9)
XYZxyz(39.2168, 40.4304, 44.2580)
Luminance0.4043 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9AB #A9AFAD
analogous
#AFA9AE #AFA9AB #AFAAA9
triadic
#AFA9AB #ABAFA9 #A9ABAF
tetradic
#AFA9AB #AEAFA9 #A9AFAD #AAA9AF
square
#AFA9AB #AEAFA9 #A9AFAD #AAA9AF
split-complementary
#AFA9AB #A9AFAA #A9AEAF
monochromatic
#736B6D #92898C #AFA9AB #CCC9CA #EAE8E9

Accessibility & contrast

On white

2.31
#AFA9AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#AFA9AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9AB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9AB#FFFFFF#000000##000000
##AFA9AB1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAAAAB
Deuteranopia (green-blind)
#ABABAB
Tritanopia (blue-blind)
#B0A9AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa9ab;
/* rgb */ color: rgb(175, 169, 171);
/* oklch */ color: oklch(74.0% 0.007 354.9);
Tailwind
colors: {
  custom: {
    50: '#c6c2c4',
    500: '#afa9ab',
    950: '#000000',
  },
}
SCSS
$custom: #afa9ab;
$custom-light: #c6c2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9ab",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 171
  },
  "hsl": {
    "h": 340,
    "s": 3.614,
    "l": 67.451
  },
  "oklch": {
    "l": 0.74039,
    "c": 0.00742,
    "h": 354.9
  },
  "luminance": 0.4043
}

Semantic roles & 50–950 ramp

primary
#AFA9AB
secondary
#D9DBDA
accent
#8D7C58
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA9AB

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

Preview Lab → · Contrast checker → · Palette generator →

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