#AFA5A2#AFA5A2

#AFA5A2 is a light, near-neutral grey. Relative luminance 0.386; OKLCH L 72.9% C 0.012 H 37.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AFA5A2
RGBrgb(175, 165, 162)
HSLhsl(14, 8%, 66%)
HSVhsv(14, 7%, 69%)
CMYKcmyk(0%, 5.7%, 7.4%, 31.4%)
CIE-LABlab(68.48, 3.07, 2.84)
CIE-LCHlch(68.48, 4.18, 42.85°)
OKLaboklab(72.95% 0.0099 0.0076)
OKLCHoklch(72.95% 0.012 37.4)
XYZxyz(37.6552, 38.6333, 39.6487)
Luminance0.3863 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5A2 #A2ACAF
analogous
#AFA2A5 #AFA5A2 #AFABA2
triadic
#AFA5A2 #A2AFA5 #A5A2AF
tetradic
#AFA5A2 #A5AFA2 #A2ACAF #ABA2AF
square
#AFA5A2 #A5AFA2 #A2ACAF #ABA2AF
split-complementary
#AFA5A2 #A2AFAB #A2A5AF
monochromatic
#736763 #938581 #AFA5A2 #CBC5C3 #E8E5E4

Accessibility & contrast

On white

2.41
#AFA5A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AFA5A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5A2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5A2#FFFFFF#000000##000000
##AFA5A21.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A6A2
Deuteranopia (green-blind)
#A9A8A2
Tritanopia (blue-blind)
#B2A4A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa5a2;
/* rgb */ color: rgb(175, 165, 162);
/* oklch */ color: oklch(72.9% 0.012 37.4);
Tailwind
colors: {
  custom: {
    50: '#c6bfbd',
    500: '#afa5a2',
    950: '#000000',
  },
}
SCSS
$custom: #afa5a2;
$custom-light: #c6bfbd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5a2",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 162
  },
  "hsl": {
    "h": 13.846,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72948,
    "c": 0.01243,
    "h": 37.4
  },
  "luminance": 0.38633
}

Semantic roles & 50–950 ramp

primary
#AFA5A2
secondary
#D4D8D9
accent
#839154
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA5A2

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

Preview Lab → · Contrast checker → · Palette generator →

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