#AFA5AF#AFA5AF

#AFA5AF is a light, near-neutral grey. Relative luminance 0.391; OKLCH L 73.3% C 0.018 H 325.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFA5AF
RGBrgb(175, 165, 175)
HSLhsl(300, 6%, 67%)
HSVhsv(300, 6%, 69%)
CMYKcmyk(0%, 5.7%, 0%, 31.4%)
CIE-LABlab(68.84, 5.46, -3.86)
CIE-LCHlch(68.84, 6.68, 324.75°)
OKLaboklab(73.34% 0.015 -0.0102)
OKLCHoklch(73.34% 0.018 325.8)
XYZxyz(38.8710, 39.1196, 46.0522)
Luminance0.3912 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5AF #A5AFA5
analogous
#AAA5AF #AFA5AF #AFA5AA
triadic
#AFA5AF #AFAFA5 #A5AFAF
tetradic
#AFA5AF #AFAAA5 #A5AFA5 #A5AAAF
square
#AFA5AF #AFAAA5 #A5AFA5 #A5AAAF
split-complementary
#AFA5AF #AAAFA5 #A5AFAA
monochromatic
#736673 #928592 #AFA5AF #CCC5CC #E9E6E9

Accessibility & contrast

On white

2.38
#AFA5AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFA5AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5AF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5AF#FFFFFF#000000##000000
##AFA5AF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A7AF
Deuteranopia (green-blind)
#A6A8AF
Tritanopia (blue-blind)
#B0A6A8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa5af;
/* rgb */ color: rgb(175, 165, 175);
/* oklch */ color: oklch(73.3% 0.018 325.8);
Tailwind
colors: {
  custom: {
    50: '#c6bfc6',
    500: '#afa5af',
    950: '#000000',
  },
}
SCSS
$custom: #afa5af;
$custom-light: #c6bfc6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5af",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 5.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.01815,
    "h": 325.8
  },
  "luminance": 0.39119
}

Semantic roles & 50–950 ramp

primary
#AFA5AF
secondary
#D6DAD6
accent
#905656
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA5AF

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

Preview Lab → · Contrast checker → · Palette generator →

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