#AF28A6 Color

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

Color preview

#AF28A6

Color formats

HEX
#AF28A6
RGB
rgb(175, 40, 166)
RGBA
rgba(175, 40, 166, 1)
HSL
hsl(304, 63%, 42%)
HSV
hsv(304, 77%, 69%)
CMYK
cmyk(0%, 77%, 5%, 31%)
CSS variable
--color-primary: #AF28A6;
Lowercase HEX
#af28a6

Shades

Tints

Tones

Harmony

CSS snippets for #AF28A6

.color-af28a6 {
  color: #AF28A6;
  background-color: #AF28A6;
}

Frequently asked questions

What color is #AF28A6?+

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

What is the closest Tailwind color to #AF28A6?+

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