#AF28AF Color

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

Color preview

#AF28AF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #AF28AF

.color-af28af {
  color: #AF28AF;
  background-color: #AF28AF;
}

Frequently asked questions

What color is #AF28AF?+

#AF28AF is a HEX color with RGB value rgb(175, 40, 175) and HSL value hsl(300, 63%, 42%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #AF28AF?+

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