#BA278E Color

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

Color preview

#BA278E

Color formats

HEX
#BA278E
RGB
rgb(186, 39, 142)
RGBA
rgba(186, 39, 142, 1)
HSL
hsl(318, 65%, 44%)
HSV
hsv(318, 79%, 73%)
CMYK
cmyk(0%, 79%, 24%, 27%)
CSS variable
--color-primary: #BA278E;
Lowercase HEX
#ba278e

Shades

Tints

Tones

Harmony

CSS snippets for #BA278E

.color-ba278e {
  color: #BA278E;
  background-color: #BA278E;
}

Frequently asked questions

What color is #BA278E?+

#BA278E is a HEX color with RGB value rgb(186, 39, 142) and HSL value hsl(318, 65%, 44%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #BA278E?+

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