#AFA4A2#AFA4A2

#AFA4A2 is a light, near-neutral grey. Relative luminance 0.383; OKLCH L 72.7% C 0.013 H 29.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AFA4A2
RGBrgb(175, 164, 162)
HSLhsl(9, 8%, 66%)
HSVhsv(9, 7%, 69%)
CMYKcmyk(0%, 6.3%, 7.4%, 31.4%)
CIE-LABlab(68.22, 3.61, 2.46)
CIE-LCHlch(68.22, 4.37, 34.28°)
OKLaboklab(72.74% 0.0114 0.0066)
OKLCHoklch(72.74% 0.013 29.9)
XYZxyz(37.4755, 38.2740, 39.5888)
Luminance0.3827 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4A2 #A2ADAF
analogous
#AFA2A6 #AFA4A2 #AFAAA2
triadic
#AFA4A2 #A2AFA4 #A4A2AF
tetradic
#AFA4A2 #A6AFA2 #A2ADAF #AAA2AF
square
#AFA4A2 #A6AFA2 #A2ADAF #AAA2AF
split-complementary
#AFA4A2 #A2AFAA #A2A6AF
monochromatic
#736663 #938481 #AFA4A2 #CBC4C3 #E8E4E4

Accessibility & contrast

On white

2.43
#AFA4A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#AFA4A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4A2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4A2#FFFFFF#000000##000000
##AFA4A21.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A5A2
Deuteranopia (green-blind)
#A9A7A2
Tritanopia (blue-blind)
#B2A3A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa4a2;
/* rgb */ color: rgb(175, 164, 162);
/* oklch */ color: oklch(72.7% 0.013 29.9);
Tailwind
colors: {
  custom: {
    50: '#c6bfbd',
    500: '#afa4a2',
    950: '#000000',
  },
}
SCSS
$custom: #afa4a2;
$custom-light: #c6bfbd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4a2",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 162
  },
  "hsl": {
    "h": 9.231,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.01315,
    "h": 29.9
  },
  "luminance": 0.38274
}

Semantic roles & 50–950 ramp

primary
#AFA4A2
secondary
#D4D8D9
accent
#889154
background
#FCFBFB
surface
#F8F6F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA4A2

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

Preview Lab → · Contrast checker → · Palette generator →

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