#AFA2A2#AFA2A2

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

Color values

HEX#AFA2A2
RGBrgb(175, 162, 162)
HSLhsl(0, 8%, 66%)
HSVhsv(0, 7%, 69%)
CMYKcmyk(0%, 7.4%, 7.4%, 31.4%)
CIE-LABlab(67.70, 4.71, 1.70)
CIE-LCHlch(67.70, 5.01, 19.86°)
OKLaboklab(72.33% 0.0145 0.0046)
OKLCHoklch(72.33% 0.015 17.5)
XYZxyz(37.1204, 37.5638, 39.4704)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2A2 #A2AFAF
analogous
#AFA2A8 #AFA2A2 #AFA8A2
triadic
#AFA2A2 #A2AFA2 #A2A2AF
tetradic
#AFA2A2 #A8AFA2 #A2AFAF #A8A2AF
square
#AFA2A2 #A8AFA2 #A2AFAF #A8A2AF
split-complementary
#AFA2A2 #A2AFA8 #A2A8AF
monochromatic
#736363 #938181 #AFA2A2 #CBC3C3 #E8E4E4

Accessibility & contrast

On white

2.47
#AFA2A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#AFA2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2A2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2A2#FFFFFF#000000##000000
##AFA2A21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A4A2
Deuteranopia (green-blind)
#A7A6A2
Tritanopia (blue-blind)
#B2A1A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa2a2;
/* rgb */ color: rgb(175, 162, 162);
/* oklch */ color: oklch(72.3% 0.015 17.5);
Tailwind
colors: {
  custom: {
    50: '#c6bdbd',
    500: '#afa2a2',
    950: '#000000',
  },
}
SCSS
$custom: #afa2a2;
$custom-light: #c6bdbd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2a2",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 162
  },
  "hsl": {
    "h": 0,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72332,
    "c": 0.01517,
    "h": 17.5
  },
  "luminance": 0.37563
}

Semantic roles & 50–950 ramp

primary
#AFA2A2
secondary
#D4D9D9
accent
#919154
background
#FCFBFB
surface
#F8F6F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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