#BA12B2 Color

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

Color preview

#BA12B2

Color formats

HEX
#BA12B2
RGB
rgb(186, 18, 178)
RGBA
rgba(186, 18, 178, 1)
HSL
hsl(303, 82%, 40%)
HSV
hsv(303, 90%, 73%)
CMYK
cmyk(0%, 90%, 4%, 27%)
CSS variable
--color-primary: #BA12B2;
Lowercase HEX
#ba12b2

Shades

Tints

Tones

Harmony

CSS snippets for #BA12B2

.color-ba12b2 {
  color: #BA12B2;
  background-color: #BA12B2;
}

Frequently asked questions

What color is #BA12B2?+

#BA12B2 is a HEX color with RGB value rgb(186, 18, 178) and HSL value hsl(303, 82%, 40%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #BA12B2?+

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