#BA1228 Color

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

Color preview

#BA1228

Color formats

HEX
#BA1228
RGB
rgb(186, 18, 40)
RGBA
rgba(186, 18, 40, 1)
HSL
hsl(352, 82%, 40%)
HSV
hsv(352, 90%, 73%)
CMYK
cmyk(0%, 90%, 78%, 27%)
CSS variable
--color-primary: #BA1228;
Lowercase HEX
#ba1228

Shades

Tints

Tones

Harmony

CSS snippets for #BA1228

.color-ba1228 {
  color: #BA1228;
  background-color: #BA1228;
}

Frequently asked questions

What color is #BA1228?+

#BA1228 is a HEX color with RGB value rgb(186, 18, 40) and HSL value hsl(352, 82%, 40%). Its closest CSS named color is FireBrick.

What is the closest Tailwind color to #BA1228?+

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