#AFA5B2 Color

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

Color preview

#AFA5B2

Color formats

HEX
#AFA5B2
RGB
rgb(175, 165, 178)
RGBA
rgba(175, 165, 178, 1)
HSL
hsl(286, 8%, 67%)
HSV
hsv(286, 7%, 70%)
CMYK
cmyk(2%, 7%, 0%, 30%)
CSS variable
--color-primary: #AFA5B2;
Lowercase HEX
#afa5b2

Shades

Tints

Tones

Harmony

CSS snippets for #AFA5B2

.color-afa5b2 {
  color: #AFA5B2;
  background-color: #AFA5B2;
}

Frequently asked questions

What color is #AFA5B2?+

#AFA5B2 is a HEX color with RGB value rgb(175, 165, 178) and HSL value hsl(286, 8%, 67%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA5B2?+

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