#BA1B97 Color

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

Color preview

#BA1B97

Color formats

HEX
#BA1B97
RGB
rgb(186, 27, 151)
RGBA
rgba(186, 27, 151, 1)
HSL
hsl(313, 75%, 42%)
HSV
hsv(313, 85%, 73%)
CMYK
cmyk(0%, 85%, 19%, 27%)
CSS variable
--color-primary: #BA1B97;
Lowercase HEX
#ba1b97

Shades

Tints

Tones

Harmony

CSS snippets for #BA1B97

.color-ba1b97 {
  color: #BA1B97;
  background-color: #BA1B97;
}

Frequently asked questions

What color is #BA1B97?+

#BA1B97 is a HEX color with RGB value rgb(186, 27, 151) and HSL value hsl(313, 75%, 42%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #BA1B97?+

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