#AFA8A2#AFA8A2

#AFA8A2 is a light, near-neutral grey. Relative luminance 0.397; OKLCH L 73.6% C 0.012 H 63.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AFA8A2
RGBrgb(175, 168, 162)
HSLhsl(28, 8%, 66%)
HSVhsv(28, 7%, 69%)
CMYKcmyk(0%, 4%, 7.4%, 31.4%)
CIE-LABlab(69.28, 1.43, 3.99)
CIE-LCHlch(69.28, 4.24, 70.29°)
OKLaboklab(73.57% 0.0053 0.0105)
OKLCHoklch(73.57% 0.012 63.3)
XYZxyz(38.2026, 39.7282, 39.8312)
Luminance0.3973 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8A2 #A2A9AF
analogous
#AFA2A2 #AFA8A2 #AFAEA2
triadic
#AFA8A2 #A2AFA8 #A8A2AF
tetradic
#AFA8A2 #A2AFA2 #A2A9AF #AEA2AF
square
#AFA8A2 #A2AFA2 #A2A9AF #AEA2AF
split-complementary
#AFA8A2 #A2AFAE #A2A2AF
monochromatic
#736B63 #938981 #AFA8A2 #CBC7C3 #E8E6E4

Accessibility & contrast

On white

2.35
#AFA8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#AFA8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8A2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8A2#FFFFFF#000000##000000
##AFA8A21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA8A2
Deuteranopia (green-blind)
#ACAAA2
Tritanopia (blue-blind)
#B2A7A6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa8a2;
/* rgb */ color: rgb(175, 168, 162);
/* oklch */ color: oklch(73.6% 0.012 63.3);
Tailwind
colors: {
  custom: {
    50: '#c6c1bd',
    500: '#afa8a2',
    950: '#000000',
  },
}
SCSS
$custom: #afa8a2;
$custom-light: #c6c1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8a2",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 162
  },
  "hsl": {
    "h": 27.692,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.73569,
    "c": 0.01178,
    "h": 63.3
  },
  "luminance": 0.39728
}

Semantic roles & 50–950 ramp

primary
#AFA8A2
secondary
#D4D7D9
accent
#759154
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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