#BA128A Color

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

Color preview

#BA128A

Color formats

HEX
#BA128A
RGB
rgb(186, 18, 138)
RGBA
rgba(186, 18, 138, 1)
HSL
hsl(317, 82%, 40%)
HSV
hsv(317, 90%, 73%)
CMYK
cmyk(0%, 90%, 26%, 27%)
CSS variable
--color-primary: #BA128A;
Lowercase HEX
#ba128a

Shades

Tints

Tones

Harmony

CSS snippets for #BA128A

.color-ba128a {
  color: #BA128A;
  background-color: #BA128A;
}

Frequently asked questions

What color is #BA128A?+

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

What is the closest Tailwind color to #BA128A?+

The closest Tailwind color is pink-600, available as the bg-pink-600 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