#AF278D Color

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

Color preview

#AF278D

Color formats

HEX
#AF278D
RGB
rgb(175, 39, 141)
RGBA
rgba(175, 39, 141, 1)
HSL
hsl(315, 64%, 42%)
HSV
hsv(315, 78%, 69%)
CMYK
cmyk(0%, 78%, 19%, 31%)
CSS variable
--color-primary: #AF278D;
Lowercase HEX
#af278d

Shades

Tints

Tones

Harmony

CSS snippets for #AF278D

.color-af278d {
  color: #AF278D;
  background-color: #AF278D;
}

Frequently asked questions

What color is #AF278D?+

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

What is the closest Tailwind color to #AF278D?+

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