#AFA2AA#AFA2AA

#AFA2AA is a light, near-neutral grey. Relative luminance 0.379; OKLCH L 72.6% C 0.019 H 340.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AFA2AA
RGBrgb(175, 162, 170)
HSLhsl(323, 8%, 66%)
HSVhsv(323, 7%, 69%)
CMYKcmyk(0%, 7.4%, 2.9%, 31.4%)
CIE-LABlab(67.92, 6.17, -2.43)
CIE-LCHlch(67.92, 6.63, 338.47°)
OKLaboklab(72.57% 0.0176 -0.0064)
OKLCHoklch(72.57% 0.019 340.1)
XYZxyz(37.8543, 37.8573, 43.3354)
Luminance0.3786 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2AA #A2AFA7
analogous
#ADA2AF #AFA2AA #AFA2A3
triadic
#AFA2AA #AAAFA2 #A2AAAF
tetradic
#AFA2AA #AFADA2 #A2AFA7 #A2A3AF
square
#AFA2AA #AFADA2 #A2AFA7 #A2A3AF
split-complementary
#AFA2AA #A3AFA2 #A2AFAD
monochromatic
#73636D #93818C #AFA2AA #CBC3C8 #E8E4E6

Accessibility & contrast

On white

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

On black

8.57
#AFA2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2AA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2AA#FFFFFF#000000##000000
##AFA2AA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A4AA
Deuteranopia (green-blind)
#A5A6AA
Tritanopia (blue-blind)
#B1A2A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa2aa;
/* rgb */ color: rgb(175, 162, 170);
/* oklch */ color: oklch(72.6% 0.019 340.1);
Tailwind
colors: {
  custom: {
    50: '#c6bdc3',
    500: '#afa2aa',
    950: '#000000',
  },
}
SCSS
$custom: #afa2aa;
$custom-light: #c6bdc3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2aa",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 170
  },
  "hsl": {
    "h": 323.077,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72574,
    "c": 0.01875,
    "h": 340.1
  },
  "luminance": 0.37857
}

Semantic roles & 50–950 ramp

primary
#AFA2AA
secondary
#D4D9D6
accent
#916C54
background
#FCFBFB
surface
#F8F6F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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