#AF4BA2 Color

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

Color preview

#AF4BA2

Color formats

HEX
#AF4BA2
RGB
rgb(175, 75, 162)
RGBA
rgba(175, 75, 162, 1)
HSL
hsl(308, 40%, 49%)
HSV
hsv(308, 57%, 69%)
CMYK
cmyk(0%, 57%, 7%, 31%)
CSS variable
--color-primary: #AF4BA2;
Lowercase HEX
#af4ba2

Shades

Tints

Tones

Harmony

CSS snippets for #AF4BA2

.color-af4ba2 {
  color: #AF4BA2;
  background-color: #AF4BA2;
}

Frequently asked questions

What color is #AF4BA2?+

#AF4BA2 is a HEX color with RGB value rgb(175, 75, 162) and HSL value hsl(308, 40%, 49%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF4BA2?+

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