#AF508F Color

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

Color preview

#AF508F

Color formats

HEX
#AF508F
RGB
rgb(175, 80, 143)
RGBA
rgba(175, 80, 143, 1)
HSL
hsl(320, 37%, 50%)
HSV
hsv(320, 54%, 69%)
CMYK
cmyk(0%, 54%, 18%, 31%)
CSS variable
--color-primary: #AF508F;
Lowercase HEX
#af508f

Shades

Tints

Tones

Harmony

CSS snippets for #AF508F

.color-af508f {
  color: #AF508F;
  background-color: #AF508F;
}

Frequently asked questions

What color is #AF508F?+

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

What is the closest Tailwind color to #AF508F?+

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