#AF12BA Color

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

Color preview

#AF12BA

Color formats

HEX
#AF12BA
RGB
rgb(175, 18, 186)
RGBA
rgba(175, 18, 186, 1)
HSL
hsl(296, 82%, 40%)
HSV
hsv(296, 90%, 73%)
CMYK
cmyk(6%, 90%, 0%, 27%)
CSS variable
--color-primary: #AF12BA;
Lowercase HEX
#af12ba

Shades

Tints

Tones

Harmony

CSS snippets for #AF12BA

.color-af12ba {
  color: #AF12BA;
  background-color: #AF12BA;
}

Frequently asked questions

What color is #AF12BA?+

#AF12BA is a HEX color with RGB value rgb(175, 18, 186) and HSL value hsl(296, 82%, 40%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #AF12BA?+

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