#AFA6A2#AFA6A2

#AFA6A2 is a light, near-neutral grey. Relative luminance 0.390; OKLCH L 73.2% C 0.012 H 45.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#AFA6A2
RGBrgb(175, 166, 162)
HSLhsl(18, 8%, 66%)
HSVhsv(18, 7%, 69%)
CMYKcmyk(0%, 5.1%, 7.4%, 31.4%)
CIE-LABlab(68.75, 2.52, 3.23)
CIE-LCHlch(68.75, 4.09, 52.00°)
OKLaboklab(73.16% 0.0083 0.0085)
OKLCHoklch(73.16% 0.012 45.7)
XYZxyz(37.8362, 38.9954, 39.7091)
Luminance0.3900 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6A2 #A2ABAF
analogous
#AFA2A4 #AFA6A2 #AFACA2
triadic
#AFA6A2 #A2AFA6 #A6A2AF
tetradic
#AFA6A2 #A4AFA2 #A2ABAF #ACA2AF
square
#AFA6A2 #A4AFA2 #A2ABAF #ACA2AF
split-complementary
#AFA6A2 #A2AFAC #A2A4AF
monochromatic
#736863 #938781 #AFA6A2 #CBC5C3 #E8E5E4

Accessibility & contrast

On white

2.39
#AFA6A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#AFA6A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6A2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6A2#FFFFFF#000000##000000
##AFA6A21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A7A2
Deuteranopia (green-blind)
#AAA8A2
Tritanopia (blue-blind)
#B2A5A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa6a2;
/* rgb */ color: rgb(175, 166, 162);
/* oklch */ color: oklch(73.2% 0.012 45.7);
Tailwind
colors: {
  custom: {
    50: '#c6c0bd',
    500: '#afa6a2',
    950: '#000000',
  },
}
SCSS
$custom: #afa6a2;
$custom-light: #c6c0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6a2",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 162
  },
  "hsl": {
    "h": 18.462,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.73155,
    "c": 0.01194,
    "h": 45.7
  },
  "luminance": 0.38995
}

Semantic roles & 50–950 ramp

primary
#AFA6A2
secondary
#D4D7D9
accent
#7F9154
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA6A2

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

Preview Lab → · Contrast checker → · Palette generator →

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