#AFA5AA#AFA5AA

#AFA5AA is a light, near-neutral grey. Relative luminance 0.389; OKLCH L 73.2% C 0.013 H 345.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AFA5AA
RGBrgb(175, 165, 170)
HSLhsl(330, 6%, 67%)
HSVhsv(330, 6%, 69%)
CMYKcmyk(0%, 5.7%, 2.9%, 31.4%)
CIE-LABlab(68.70, 4.52, -1.29)
CIE-LCHlch(68.70, 4.70, 344.12°)
OKLaboklab(73.19% 0.0131 -0.0033)
OKLCHoklch(73.19% 0.013 345.6)
XYZxyz(38.3890, 38.9268, 43.5137)
Luminance0.3893 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5AA #A5AFAA
analogous
#AFA5AF #AFA5AA #AFA5A5
triadic
#AFA5AA #AAAFA5 #A5AAAF
tetradic
#AFA5AA #AFAFA5 #A5AFAA #A5A5AF
square
#AFA5AA #AFAFA5 #A5AFAA #A5A5AF
split-complementary
#AFA5AA #A5AFA5 #A5AFAF
monochromatic
#73666D #92858B #AFA5AA #CCC5C9 #E9E6E7

Accessibility & contrast

On white

2.39
#AFA5AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AFA5AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5AA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5AA#FFFFFF#000000##000000
##AFA5AA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A7AA
Deuteranopia (green-blind)
#A8A8AA
Tritanopia (blue-blind)
#B1A5A7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa5aa;
/* rgb */ color: rgb(175, 165, 170);
/* oklch */ color: oklch(73.2% 0.013 345.6);
Tailwind
colors: {
  custom: {
    50: '#c6bfc3',
    500: '#afa5aa',
    950: '#000000',
  },
}
SCSS
$custom: #afa5aa;
$custom-light: #c6bfc3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5aa",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 170
  },
  "hsl": {
    "h": 330,
    "s": 5.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.73186,
    "c": 0.01347,
    "h": 345.6
  },
  "luminance": 0.38927
}

Semantic roles & 50–950 ramp

primary
#AFA5AA
secondary
#D6DAD8
accent
#907356
background
#FCFBFB
surface
#F8F7F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA5AA

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

Preview Lab → · Contrast checker → · Palette generator →

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