#BA12B5 Color

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

Color preview

#BA12B5

Color formats

HEX
#BA12B5
RGB
rgb(186, 18, 181)
RGBA
rgba(186, 18, 181, 1)
HSL
hsl(302, 82%, 40%)
HSV
hsv(302, 90%, 73%)
CMYK
cmyk(0%, 90%, 3%, 27%)
CSS variable
--color-primary: #BA12B5;
Lowercase HEX
#ba12b5

Shades

Tints

Tones

Harmony

CSS snippets for #BA12B5

.color-ba12b5 {
  color: #BA12B5;
  background-color: #BA12B5;
}

Frequently asked questions

What color is #BA12B5?+

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

What is the closest Tailwind color to #BA12B5?+

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