#AF278B Color

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

Color preview

#AF278B

Color formats

HEX
#AF278B
RGB
rgb(175, 39, 139)
RGBA
rgba(175, 39, 139, 1)
HSL
hsl(316, 64%, 42%)
HSV
hsv(316, 78%, 69%)
CMYK
cmyk(0%, 78%, 21%, 31%)
CSS variable
--color-primary: #AF278B;
Lowercase HEX
#af278b

Shades

Tints

Tones

Harmony

CSS snippets for #AF278B

.color-af278b {
  color: #AF278B;
  background-color: #AF278B;
}

Frequently asked questions

What color is #AF278B?+

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

What is the closest Tailwind color to #AF278B?+

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