#AFA2A5#AFA2A5

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

Color values

HEX#AFA2A5
RGBrgb(175, 162, 165)
HSLhsl(346, 8%, 66%)
HSVhsv(346, 7%, 69%)
CMYKcmyk(0%, 7.4%, 5.7%, 31.4%)
CIE-LABlab(67.78, 5.25, 0.15)
CIE-LCHlch(67.78, 5.25, 1.62°)
OKLaboklab(72.42% 0.0157 0.0005)
OKLCHoklch(72.42% 0.016 1.7)
XYZxyz(37.3903, 37.6717, 40.8917)
Luminance0.3767 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2A5 #A2AFAC
analogous
#AFA2AB #AFA2A5 #AFA5A2
triadic
#AFA2A5 #A5AFA2 #A2A5AF
tetradic
#AFA2A5 #ABAFA2 #A2AFAC #A5A2AF
square
#AFA2A5 #ABAFA2 #A2AFAC #A5A2AF
split-complementary
#AFA2A5 #A2AFA5 #A2ABAF
monochromatic
#736367 #938185 #AFA2A5 #CBC3C5 #E8E4E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA2A5#FFFFFF#000000##000000
##AFA2A51.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)
#A3A4A5
Deuteranopia (green-blind)
#A6A6A5
Tritanopia (blue-blind)
#B2A1A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa2a5;
/* rgb */ color: rgb(175, 162, 165);
/* oklch */ color: oklch(72.4% 0.016 1.7);
Tailwind
colors: {
  custom: {
    50: '#c6bdbf',
    500: '#afa2a5',
    950: '#000000',
  },
}
SCSS
$custom: #afa2a5;
$custom-light: #c6bdbf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2a5",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 165
  },
  "hsl": {
    "h": 346.154,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.01568,
    "h": 1.7
  },
  "luminance": 0.37671
}

Semantic roles & 50–950 ramp

primary
#AFA2A5
secondary
#D4D9D8
accent
#918354
background
#FCFBFB
surface
#F8F6F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA2A5

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

Preview Lab → · Contrast checker → · Palette generator →

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