#AFA2AB Color

Inspect #AFA2AB across formats, palettes, contrast and closest named color matches.

Color preview

#AFA2AB

Color formats

HEX
#AFA2AB
RGB
rgb(175, 162, 171)
RGBA
rgba(175, 162, 171, 1)
HSL
hsl(318, 8%, 66%)
HSV
hsv(318, 7%, 69%)
CMYK
cmyk(0%, 7%, 2%, 31%)
CSS variable
--color-primary: #AFA2AB;
Lowercase HEX
#afa2ab

Shades

Tints

Tones

Harmony

CSS snippets for #AFA2AB

.color-afa2ab {
  color: #AFA2AB;
  background-color: #AFA2AB;
}

Frequently asked questions

What color is #AFA2AB?+

#AFA2AB is a HEX color with RGB value rgb(175, 162, 171) and HSL value hsl(318, 8%, 66%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA2AB?+

The closest Tailwind color is zinc-400, available as the bg-zinc-400 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools