#AFA4AF#AFA4AF

#AFA4AF is a light, near-neutral grey. Relative luminance 0.388; OKLCH L 73.1% C 0.020 H 325.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFA4AF
RGBrgb(175, 164, 175)
HSLhsl(300, 6%, 66%)
HSVhsv(300, 6%, 69%)
CMYKcmyk(0%, 6.3%, 0%, 31.4%)
CIE-LABlab(68.58, 6.01, -4.24)
CIE-LCHlch(68.58, 7.35, 324.78°)
OKLaboklab(73.14% 0.0165 -0.0112)
OKLCHoklch(73.14% 0.02 325.8)
XYZxyz(38.6914, 38.7603, 45.9923)
Luminance0.3876 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4AF #A4AFA4
analogous
#AAA4AF #AFA4AF #AFA4AA
triadic
#AFA4AF #AFAFA4 #A4AFAF
tetradic
#AFA4AF #AFAAA4 #A4AFA4 #A4AAAF
square
#AFA4AF #AFAAA4 #A4AFA4 #A4AAAF
split-complementary
#AFA4AF #AAAFA4 #A4AFAA
monochromatic
#736573 #928392 #AFA4AF #CCC5CC #E8E5E8

Accessibility & contrast

On white

2.40
#AFA4AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#AFA4AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4AF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4AF#FFFFFF#000000##000000
##AFA4AF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A6B0
Deuteranopia (green-blind)
#A6A8AF
Tritanopia (blue-blind)
#B0A5A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa4af;
/* rgb */ color: rgb(175, 164, 175);
/* oklch */ color: oklch(73.1% 0.020 325.8);
Tailwind
colors: {
  custom: {
    50: '#c6bfc6',
    500: '#afa4af',
    950: '#000000',
  },
}
SCSS
$custom: #afa4af;
$custom-light: #c6bfc6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4af",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 6.433,
    "l": 66.471
  },
  "oklch": {
    "l": 0.73138,
    "c": 0.01997,
    "h": 325.8
  },
  "luminance": 0.3876
}

Semantic roles & 50–950 ramp

primary
#AFA4AF
secondary
#D6D9D6
accent
#905555
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA4AF

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

Preview Lab → · Contrast checker → · Palette generator →

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