#AFA2A4#AFA2A4

#AFA2A4 is a light, near-neutral grey. Relative luminance 0.376; OKLCH L 72.4% C 0.015 H 6.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA2A4
RGBrgb(175, 162, 164)
HSLhsl(351, 8%, 66%)
HSVhsv(351, 7%, 69%)
CMYKcmyk(0%, 7.4%, 6.3%, 31.4%)
CIE-LABlab(67.75, 5.07, 0.67)
CIE-LCHlch(67.75, 5.11, 7.48°)
OKLaboklab(72.39% 0.0153 0.0018)
OKLCHoklch(72.39% 0.015 6.9)
XYZxyz(37.2996, 37.6354, 40.4142)
Luminance0.3764 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2A4 #A2AFAD
analogous
#AFA2AA #AFA2A4 #AFA6A2
triadic
#AFA2A4 #A4AFA2 #A2A4AF
tetradic
#AFA2A4 #AAAFA2 #A2AFAD #A6A2AF
square
#AFA2A4 #AAAFA2 #A2AFAD #A6A2AF
split-complementary
#AFA2A4 #A2AFA6 #A2AAAF
monochromatic
#736366 #938184 #AFA2A4 #CBC3C4 #E8E4E4

Accessibility & contrast

On white

2.46
#AFA2A4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#AFA2A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2A4
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2A4#FFFFFF#000000##000000
##AFA2A41.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A4A4
Deuteranopia (green-blind)
#A6A6A4
Tritanopia (blue-blind)
#B2A1A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa2a4;
/* rgb */ color: rgb(175, 162, 164);
/* oklch */ color: oklch(72.4% 0.015 6.9);
Tailwind
colors: {
  custom: {
    50: '#c6bdbf',
    500: '#afa2a4',
    950: '#000000',
  },
}
SCSS
$custom: #afa2a4;
$custom-light: #c6bdbf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2a4",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 164
  },
  "hsl": {
    "h": 350.769,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72391,
    "c": 0.01538,
    "h": 6.9
  },
  "luminance": 0.37635
}

Semantic roles & 50–950 ramp

primary
#AFA2A4
secondary
#D4D9D8
accent
#918854
background
#FCFBFB
surface
#F8F6F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA2A4

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

Preview Lab → · Contrast checker → · Palette generator →

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