#BA12B1 Color

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

Color preview

#BA12B1

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #BA12B1

.color-ba12b1 {
  color: #BA12B1;
  background-color: #BA12B1;
}

Frequently asked questions

What color is #BA12B1?+

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

What is the closest Tailwind color to #BA12B1?+

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