#AFA2A8#AFA2A8

#AFA2A8 is a light, near-neutral grey. Relative luminance 0.378; OKLCH L 72.5% C 0.017 H 347.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#AFA2A8
RGBrgb(175, 162, 168)
HSLhsl(332, 8%, 66%)
HSVhsv(332, 7%, 69%)
CMYKcmyk(0%, 7.4%, 4%, 31.4%)
CIE-LABlab(67.86, 5.80, -1.40)
CIE-LCHlch(67.86, 5.96, 346.41°)
OKLaboklab(72.51% 0.0169 -0.0036)
OKLCHoklch(72.51% 0.017 347.8)
XYZxyz(37.6665, 37.7822, 42.3466)
Luminance0.3778 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2A8 #A2AFA9
analogous
#AFA2AE #AFA2A8 #AFA2A2
triadic
#AFA2A8 #A8AFA2 #A2A8AF
tetradic
#AFA2A8 #AEAFA2 #A2AFA9 #A2A2AF
square
#AFA2A8 #AEAFA2 #A2AFA9 #A2A2AF
split-complementary
#AFA2A8 #A2AFA2 #A2AEAF
monochromatic
#73636B #938189 #AFA2A8 #CBC3C7 #E8E4E6

Accessibility & contrast

On white

2.45
#AFA2A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#AFA2A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2A8
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2A8#FFFFFF#000000##000000
##AFA2A81.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A4A8
Deuteranopia (green-blind)
#A6A6A8
Tritanopia (blue-blind)
#B1A2A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa2a8;
/* rgb */ color: rgb(175, 162, 168);
/* oklch */ color: oklch(72.5% 0.017 347.8);
Tailwind
colors: {
  custom: {
    50: '#c6bdc1',
    500: '#afa2a8',
    950: '#000000',
  },
}
SCSS
$custom: #afa2a8;
$custom-light: #c6bdc1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2a8",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 168
  },
  "hsl": {
    "h": 332.308,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.01724,
    "h": 347.8
  },
  "luminance": 0.37782
}

Semantic roles & 50–950 ramp

primary
#AFA2A8
secondary
#D4D9D7
accent
#917554
background
#FCFBFB
surface
#F8F6F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA2A8

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

Preview Lab → · Contrast checker → · Palette generator →

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