#AFA2AB#AFA2AB

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

Color values

HEX#AFA2AB
RGBrgb(175, 162, 171)
HSLhsl(318, 8%, 66%)
HSVhsv(318, 7%, 69%)
CMYKcmyk(0%, 7.4%, 2.3%, 31.4%)
CIE-LABlab(67.94, 6.35, -2.95)
CIE-LCHlch(67.94, 7.00, 335.10°)
OKLaboklab(72.61% 0.018 -0.0078)
OKLCHoklch(72.61% 0.02 336.7)
XYZxyz(37.9492, 37.8953, 43.8355)
Luminance0.3790 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2AB #A2AFA6
analogous
#ACA2AF #AFA2AB #AFA2A4
triadic
#AFA2AB #ABAFA2 #A2ABAF
tetradic
#AFA2AB #AFACA2 #A2AFA6 #A2A4AF
square
#AFA2AB #AFACA2 #A2AFA6 #A2A4AF
split-complementary
#AFA2AB #A4AFA2 #A2AFAC
monochromatic
#73636E #93818D #AFA2AB #CBC3C9 #E8E4E6

Accessibility & contrast

On white

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

On black

8.58
#AFA2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2AB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2AB#FFFFFF#000000##000000
##AFA2AB1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A4AB
Deuteranopia (green-blind)
#A5A6AB
Tritanopia (blue-blind)
#B1A2A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa2ab;
/* rgb */ color: rgb(175, 162, 171);
/* oklch */ color: oklch(72.6% 0.020 336.7);
Tailwind
colors: {
  custom: {
    50: '#c6bdc4',
    500: '#afa2ab',
    950: '#000000',
  },
}
SCSS
$custom: #afa2ab;
$custom-light: #c6bdc4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2ab",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 171
  },
  "hsl": {
    "h": 318.462,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72605,
    "c": 0.01962,
    "h": 336.7
  },
  "luminance": 0.37895
}

Semantic roles & 50–950 ramp

primary
#AFA2AB
secondary
#D4D9D6
accent
#916754
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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