#BA1B9F Color

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

Color preview

#BA1B9F

Color formats

HEX
#BA1B9F
RGB
rgb(186, 27, 159)
RGBA
rgba(186, 27, 159, 1)
HSL
hsl(310, 75%, 42%)
HSV
hsv(310, 85%, 73%)
CMYK
cmyk(0%, 85%, 15%, 27%)
CSS variable
--color-primary: #BA1B9F;
Lowercase HEX
#ba1b9f

Shades

Tints

Tones

Harmony

CSS snippets for #BA1B9F

.color-ba1b9f {
  color: #BA1B9F;
  background-color: #BA1B9F;
}

Frequently asked questions

What color is #BA1B9F?+

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

What is the closest Tailwind color to #BA1B9F?+

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