#AFA8AB Color

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

Color preview

#AFA8AB

Color formats

HEX
#AFA8AB
RGB
rgb(175, 168, 171)
RGBA
rgba(175, 168, 171, 1)
HSL
hsl(334, 4%, 67%)
HSV
hsv(334, 4%, 69%)
CMYK
cmyk(0%, 4%, 2%, 31%)
CSS variable
--color-primary: #AFA8AB;
Lowercase HEX
#afa8ab

Shades

Tints

Tones

Harmony

CSS snippets for #AFA8AB

.color-afa8ab {
  color: #AFA8AB;
  background-color: #AFA8AB;
}

Frequently asked questions

What color is #AFA8AB?+

#AFA8AB is a HEX color with RGB value rgb(175, 168, 171) and HSL value hsl(334, 4%, 67%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA8AB?+

The closest Tailwind color is neutral-400, available as the bg-neutral-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