#AFA7AA#AFA7AA

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

Color values

HEX#AFA7AA
RGBrgb(175, 167, 170)
HSLhsl(338, 5%, 67%)
HSVhsv(338, 5%, 69%)
CMYKcmyk(0%, 4.6%, 2.9%, 31.4%)
CIE-LABlab(69.22, 3.42, -0.52)
CIE-LCHlch(69.22, 3.46, 351.38°)
OKLaboklab(73.6% 0.01 -0.0013)
OKLCHoklch(73.6% 0.01 352.5)
XYZxyz(38.7526, 39.6539, 43.6349)
Luminance0.3965 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7AA #A7AFAC
analogous
#AFA7AE #AFA7AA #AFA8A7
triadic
#AFA7AA #AAAFA7 #A7AAAF
tetradic
#AFA7AA #AEAFA7 #A7AFAC #A8A7AF
square
#AFA7AA #AEAFA7 #A7AFAC #A8A7AF
split-complementary
#AFA7AA #A7AFA8 #A7AEAF
monochromatic
#73696C #92878B #AFA7AA #CCC7C9 #E9E7E8

Accessibility & contrast

On white

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

On black

8.93
#AFA7AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7AA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7AA#FFFFFF#000000##000000
##AFA7AA1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A8AA
Deuteranopia (green-blind)
#A9A9AA
Tritanopia (blue-blind)
#B0A7A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa7aa;
/* rgb */ color: rgb(175, 167, 170);
/* oklch */ color: oklch(73.6% 0.010 352.5);
Tailwind
colors: {
  custom: {
    50: '#c6c1c3',
    500: '#afa7aa',
    950: '#000000',
  },
}
SCSS
$custom: #afa7aa;
$custom-light: #c6c1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7aa",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 170
  },
  "hsl": {
    "h": 337.5,
    "s": 4.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.73597,
    "c": 0.01011,
    "h": 352.5
  },
  "luminance": 0.39654
}

Semantic roles & 50–950 ramp

primary
#AFA7AA
secondary
#D8DAD9
accent
#8F7A57
background
#FCFBFB
surface
#F8F7F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA7AA

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

Preview Lab → · Contrast checker → · Palette generator →

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