#AFA8AB#AFA8AB

#AFA8AB is a light, near-neutral grey. Relative luminance 0.401; OKLCH L 73.8% C 0.009 H 349.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFA8AB
RGBrgb(175, 168, 171)
HSLhsl(334, 4%, 67%)
HSVhsv(334, 4%, 69%)
CMYKcmyk(0%, 4%, 2.3%, 31.4%)
CIE-LABlab(69.51, 3.06, -0.65)
CIE-LCHlch(69.51, 3.13, 348.03°)
OKLaboklab(73.83% 0.0089 -0.0017)
OKLCHoklch(73.83% 0.009 349.3)
XYZxyz(39.0315, 40.0597, 44.1963)
Luminance0.4006 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8AB #A8AFAC
analogous
#AFA8AF #AFA8AB #AFA9A8
triadic
#AFA8AB #ABAFA8 #A8ABAF
tetradic
#AFA8AB #AFAFA8 #A8AFAC #A9A8AF
square
#AFA8AB #AFAFA8 #A8AFAC #A9A8AF
split-complementary
#AFA8AB #A8AFA9 #A8AFAF
monochromatic
#736A6E #92888C #AFA8AB #CCC8CA #EAE8E9

Accessibility & contrast

On white

2.33
#AFA8AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#AFA8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8AB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8AB#FFFFFF#000000##000000
##AFA8AB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa8ab;
/* rgb */ color: rgb(175, 168, 171);
/* oklch */ color: oklch(73.8% 0.009 349.3);
Tailwind
colors: {
  custom: {
    50: '#c6c1c4',
    500: '#afa8ab',
    950: '#000000',
  },
}
SCSS
$custom: #afa8ab;
$custom-light: #c6c1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8ab",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 171
  },
  "hsl": {
    "h": 334.286,
    "s": 4.192,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73833,
    "c": 0.00906,
    "h": 349.3
  },
  "luminance": 0.40059
}

Semantic roles & 50–950 ramp

primary
#AFA8AB
secondary
#D8DBDA
accent
#8E7757
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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