#AFA5C6 Color

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

Color preview

#AFA5C6

Color formats

HEX
#AFA5C6
RGB
rgb(175, 165, 198)
RGBA
rgba(175, 165, 198, 1)
HSL
hsl(258, 22%, 71%)
HSV
hsv(258, 17%, 78%)
CMYK
cmyk(12%, 17%, 0%, 22%)
CSS variable
--color-primary: #AFA5C6;
Lowercase HEX
#afa5c6

Shades

Tints

Tones

Harmony

CSS snippets for #AFA5C6

.color-afa5c6 {
  color: #AFA5C6;
  background-color: #AFA5C6;
}

Frequently asked questions

What color is #AFA5C6?+

#AFA5C6 is a HEX color with RGB value rgb(175, 165, 198) and HSL value hsl(258, 22%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA5C6?+

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