#AFA7AF#AFA7AF

#AFA7AF is a light, near-neutral grey. Relative luminance 0.398; OKLCH L 73.8% C 0.014 H 325.7°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AFA7AF
RGBrgb(175, 167, 175)
HSLhsl(300, 5%, 67%)
HSVhsv(300, 5%, 69%)
CMYKcmyk(0%, 4.6%, 0%, 31.4%)
CIE-LABlab(69.36, 4.36, -3.09)
CIE-LCHlch(69.36, 5.34, 324.69°)
OKLaboklab(73.75% 0.012 -0.0082)
OKLCHoklch(73.75% 0.014 325.7)
XYZxyz(39.2346, 39.8467, 46.1734)
Luminance0.3985 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7AF #A7AFA7
analogous
#ABA7AF #AFA7AF #AFA7AB
triadic
#AFA7AF #AFAFA7 #A7AFAF
tetradic
#AFA7AF #AFABA7 #A7AFA7 #A7ABAF
square
#AFA7AF #AFABA7 #A7AFA7 #A7ABAF
split-complementary
#AFA7AF #ABAFA7 #A7AFAB
monochromatic
#736973 #928792 #AFA7AF #CCC7CC #E9E7E9

Accessibility & contrast

On white

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

On black

8.97
#AFA7AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7AF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7AF#FFFFFF#000000##000000
##AFA7AF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A9AF
Deuteranopia (green-blind)
#A8AAAF
Tritanopia (blue-blind)
#B0A8AA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa7af;
/* rgb */ color: rgb(175, 167, 175);
/* oklch */ color: oklch(73.8% 0.014 325.7);
Tailwind
colors: {
  custom: {
    50: '#c6c1c6',
    500: '#afa7af',
    950: '#000000',
  },
}
SCSS
$custom: #afa7af;
$custom-light: #c6c1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7af",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 4.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.7375,
    "c": 0.01449,
    "h": 325.7
  },
  "luminance": 0.39847
}

Semantic roles & 50–950 ramp

primary
#AFA7AF
secondary
#D8DAD8
accent
#8F5757
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA7AF

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

Preview Lab → · Contrast checker → · Palette generator →

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