#AFA2BA Color

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

Color preview

#AFA2BA

Color formats

HEX
#AFA2BA
RGB
rgb(175, 162, 186)
RGBA
rgba(175, 162, 186, 1)
HSL
hsl(273, 15%, 68%)
HSV
hsv(273, 13%, 73%)
CMYK
cmyk(6%, 13%, 0%, 27%)
CSS variable
--color-primary: #AFA2BA;
Lowercase HEX
#afa2ba

Shades

Tints

Tones

Harmony

CSS snippets for #AFA2BA

.color-afa2ba {
  color: #AFA2BA;
  background-color: #AFA2BA;
}

Frequently asked questions

What color is #AFA2BA?+

#AFA2BA is a HEX color with RGB value rgb(175, 162, 186) and HSL value hsl(273, 15%, 68%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA2BA?+

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