#AF2898 Color

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

Color preview

#AF2898

Color formats

HEX
#AF2898
RGB
rgb(175, 40, 152)
RGBA
rgba(175, 40, 152, 1)
HSL
hsl(310, 63%, 42%)
HSV
hsv(310, 77%, 69%)
CMYK
cmyk(0%, 77%, 13%, 31%)
CSS variable
--color-primary: #AF2898;
Lowercase HEX
#af2898

Shades

Tints

Tones

Harmony

CSS snippets for #AF2898

.color-af2898 {
  color: #AF2898;
  background-color: #AF2898;
}

Frequently asked questions

What color is #AF2898?+

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

What is the closest Tailwind color to #AF2898?+

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