#AF508B Color

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

Color preview

#AF508B

Color formats

HEX
#AF508B
RGB
rgb(175, 80, 139)
RGBA
rgba(175, 80, 139, 1)
HSL
hsl(323, 37%, 50%)
HSV
hsv(323, 54%, 69%)
CMYK
cmyk(0%, 54%, 21%, 31%)
CSS variable
--color-primary: #AF508B;
Lowercase HEX
#af508b

Shades

Tints

Tones

Harmony

CSS snippets for #AF508B

.color-af508b {
  color: #AF508B;
  background-color: #AF508B;
}

Frequently asked questions

What color is #AF508B?+

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

What is the closest Tailwind color to #AF508B?+

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