#AFA7AC#AFA7AC

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

Color values

HEX#AFA7AC
RGBrgb(175, 167, 172)
HSLhsl(323, 5%, 67%)
HSVhsv(323, 5%, 69%)
CMYKcmyk(0%, 4.6%, 1.7%, 31.4%)
CIE-LABlab(69.28, 3.79, -1.55)
CIE-LCHlch(69.28, 4.10, 337.81°)
OKLaboklab(73.66% 0.0108 -0.004)
OKLCHoklch(73.66% 0.012 339.4)
XYZxyz(38.9432, 39.7302, 44.6388)
Luminance0.3973 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7AC #A7AFAA
analogous
#AEA7AF #AFA7AC #AFA7A8
triadic
#AFA7AC #ACAFA7 #A7ACAF
tetradic
#AFA7AC #AFAEA7 #A7AFAA #A7A8AF
square
#AFA7AC #AFAEA7 #A7AFAA #A7A8AF
split-complementary
#AFA7AC #A8AFA7 #A7AFAE
monochromatic
#73696F #92878E #AFA7AC #CCC7CA #E9E7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA7AC#FFFFFF#000000##000000
##AFA7AC1.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)
#A7A8AC
Deuteranopia (green-blind)
#A9AAAC
Tritanopia (blue-blind)
#B0A7A9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa7ac;
/* rgb */ color: rgb(175, 167, 172);
/* oklch */ color: oklch(73.7% 0.012 339.4);
Tailwind
colors: {
  custom: {
    50: '#c6c1c4',
    500: '#afa7ac',
    950: '#000000',
  },
}
SCSS
$custom: #afa7ac;
$custom-light: #c6c1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7ac",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 172
  },
  "hsl": {
    "h": 322.5,
    "s": 4.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.73657,
    "c": 0.01153,
    "h": 339.4
  },
  "luminance": 0.3973
}

Semantic roles & 50–950 ramp

primary
#AFA7AC
secondary
#D8DAD9
accent
#8F6C57
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA7AC

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

Preview Lab → · Contrast checker → · Palette generator →

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