#AF508E Color

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

Color preview

#AF508E

Color formats

HEX
#AF508E
RGB
rgb(175, 80, 142)
RGBA
rgba(175, 80, 142, 1)
HSL
hsl(321, 37%, 50%)
HSV
hsv(321, 54%, 69%)
CMYK
cmyk(0%, 54%, 19%, 31%)
CSS variable
--color-primary: #AF508E;
Lowercase HEX
#af508e

Shades

Tints

Tones

Harmony

CSS snippets for #AF508E

.color-af508e {
  color: #AF508E;
  background-color: #AF508E;
}

Frequently asked questions

What color is #AF508E?+

#AF508E is a HEX color with RGB value rgb(175, 80, 142) and HSL value hsl(321, 37%, 50%). Its closest CSS named color is PaleVioletRed.

What is the closest Tailwind color to #AF508E?+

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