#AFA0CC Color

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

Color preview

#AFA0CC

Color formats

HEX
#AFA0CC
RGB
rgb(175, 160, 204)
RGBA
rgba(175, 160, 204, 1)
HSL
hsl(260, 30%, 71%)
HSV
hsv(260, 22%, 80%)
CMYK
cmyk(14%, 22%, 0%, 20%)
CSS variable
--color-primary: #AFA0CC;
Lowercase HEX
#afa0cc

Shades

Tints

Tones

Harmony

CSS snippets for #AFA0CC

.color-afa0cc {
  color: #AFA0CC;
  background-color: #AFA0CC;
}

Frequently asked questions

What color is #AFA0CC?+

#AFA0CC is a HEX color with RGB value rgb(175, 160, 204) and HSL value hsl(260, 30%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA0CC?+

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