#AFA6AB#AFA6AB

#AFA6AB is a light, near-neutral grey. Relative luminance 0.393; OKLCH L 73.4% C 0.012 H 342.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AFA6AB
RGBrgb(175, 166, 171)
HSLhsl(327, 5%, 67%)
HSVhsv(327, 5%, 69%)
CMYKcmyk(0%, 5.1%, 2.3%, 31.4%)
CIE-LABlab(68.99, 4.15, -1.42)
CIE-LCHlch(68.99, 4.39, 341.17°)
OKLaboklab(73.42% 0.0119 -0.0037)
OKLCHoklch(73.42% 0.012 342.8)
XYZxyz(38.6651, 39.3270, 44.0741)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6AB #A6AFAA
analogous
#AFA6AF #AFA6AB #AFA6A7
triadic
#AFA6AB #ABAFA6 #A6ABAF
tetradic
#AFA6AB #AFAFA6 #A6AFAA #A6A7AF
square
#AFA6AB #AFAFA6 #A6AFAA #A6A7AF
split-complementary
#AFA6AB #A7AFA6 #A6AFAF
monochromatic
#73676E #92868D #AFA6AB #CCC6C9 #E9E6E8

Accessibility & contrast

On white

2.37
#AFA6AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AFA6AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6AB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6AB#FFFFFF#000000##000000
##AFA6AB1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A8AB
Deuteranopia (green-blind)
#A8A9AB
Tritanopia (blue-blind)
#B0A6A8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa6ab;
/* rgb */ color: rgb(175, 166, 171);
/* oklch */ color: oklch(73.4% 0.012 342.8);
Tailwind
colors: {
  custom: {
    50: '#c6c0c4',
    500: '#afa6ab',
    950: '#000000',
  },
}
SCSS
$custom: #afa6ab;
$custom-light: #c6c0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6ab",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 171
  },
  "hsl": {
    "h": 326.667,
    "s": 5.325,
    "l": 66.863
  },
  "oklch": {
    "l": 0.73422,
    "c": 0.01249,
    "h": 342.8
  },
  "luminance": 0.39327
}

Semantic roles & 50–950 ramp

primary
#AFA6AB
secondary
#D7DAD8
accent
#8F7056
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA6AB

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

Preview Lab → · Contrast checker → · Palette generator →

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