#AFA2C6 Color

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

Color preview

#AFA2C6

Color formats

HEX
#AFA2C6
RGB
rgb(175, 162, 198)
RGBA
rgba(175, 162, 198, 1)
HSL
hsl(262, 24%, 71%)
HSV
hsv(262, 18%, 78%)
CMYK
cmyk(12%, 18%, 0%, 22%)
CSS variable
--color-primary: #AFA2C6;
Lowercase HEX
#afa2c6

Shades

Tints

Tones

Harmony

CSS snippets for #AFA2C6

.color-afa2c6 {
  color: #AFA2C6;
  background-color: #AFA2C6;
}

Frequently asked questions

What color is #AFA2C6?+

#AFA2C6 is a HEX color with RGB value rgb(175, 162, 198) and HSL value hsl(262, 24%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA2C6?+

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