#AF2798 Color

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

Color preview

#AF2798

Color formats

HEX
#AF2798
RGB
rgb(175, 39, 152)
RGBA
rgba(175, 39, 152, 1)
HSL
hsl(310, 64%, 42%)
HSV
hsv(310, 78%, 69%)
CMYK
cmyk(0%, 78%, 13%, 31%)
CSS variable
--color-primary: #AF2798;
Lowercase HEX
#af2798

Shades

Tints

Tones

Harmony

CSS snippets for #AF2798

.color-af2798 {
  color: #AF2798;
  background-color: #AF2798;
}

Frequently asked questions

What color is #AF2798?+

#AF2798 is a HEX color with RGB value rgb(175, 39, 152) and HSL value hsl(310, 64%, 42%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #AF2798?+

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