#AFA8A7#AFA8A7

#AFA8A7 is a light, near-neutral grey. Relative luminance 0.399; OKLCH L 73.7% C 0.008 H 27.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#AFA8A7
RGBrgb(175, 168, 167)
HSLhsl(8, 5%, 67%)
HSVhsv(8, 5%, 69%)
CMYKcmyk(0%, 4%, 4.6%, 31.4%)
CIE-LABlab(69.41, 2.32, 1.41)
CIE-LCHlch(69.41, 2.72, 31.23°)
OKLaboklab(73.71% 0.0073 0.0038)
OKLCHoklch(73.71% 0.008 27.2)
XYZxyz(38.6559, 39.9095, 42.2186)
Luminance0.3991 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8A7 #A7AEAF
analogous
#AFA7AA #AFA8A7 #AFACA7
triadic
#AFA8A7 #A7AFA8 #A8A7AF
tetradic
#AFA8A7 #AAAFA7 #A7AEAF #ACA7AF
square
#AFA8A7 #AAAFA7 #A7AEAF #ACA7AF
split-complementary
#AFA8A7 #A7AFAC #A7AAAF
monochromatic
#736A69 #928887 #AFA8A7 #CCC8C7 #E9E7E7

Accessibility & contrast

On white

2.34
#AFA8A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#AFA8A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8A7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8A7#FFFFFF#000000##000000
##AFA8A71.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A9A7
Deuteranopia (green-blind)
#ABAAA7
Tritanopia (blue-blind)
#B1A7A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa8a7;
/* rgb */ color: rgb(175, 168, 167);
/* oklch */ color: oklch(73.7% 0.008 27.2);
Tailwind
colors: {
  custom: {
    50: '#c6c1c1',
    500: '#afa8a7',
    950: '#000000',
  },
}
SCSS
$custom: #afa8a7;
$custom-light: #c6c1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8a7",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 167
  },
  "hsl": {
    "h": 7.5,
    "s": 4.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.73713,
    "c": 0.00822,
    "h": 27.2
  },
  "luminance": 0.39909
}

Semantic roles & 50–950 ramp

primary
#AFA8A7
secondary
#D8DADA
accent
#888F57
background
#FCFBFB
surface
#F8F7F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8A7

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

Preview Lab → · Contrast checker → · Palette generator →

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