#BA1218 Color Information

Hex color code: #BA1218

The hex color #BA1218 is a dynamic red with RGB values of (186, 18, 24) and HSL of (358°, 82%, 40%). It is typically applied in digital products.

Try:
Color NameFirebrick
HEX
#BA1218
RGB
186, 18, 24
HSL
358°, 82%, 40%
CMYK
0%, 90%, 87%, 27%

Shades

CSS Usage
color: #BA1218;
background-color: #BA1218;
border-color: #BA1218;
box-shadow: 0 0 10px #BA1218;
border: 2px solid #BA1218;
Tailwind Usage
bg-[#BA1218]
text-[#BA1218]
border-[#BA1218]
shadow-[0_0_10px_BA1218]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #BA1218, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #BA1218; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #BA1218; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #BA1218; background-color: #BA121815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #BA121820; border-left: 4px solid #BA1218; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #BA1218; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #BA1218 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 18, 24

Red: 186 / Green: 18 / Blue: 24

HSL

358°, 82%, 40%

Hue: 358° / Saturation: 82% / Lightness: 40%

CMYK

0%, 90%, 87%, 27%

Cyan: 0% / Magenta: 90% / Yellow: 87% / Key: 27%

What color is #BA1218?

#BA1218 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA1218 to RGB:

rgb(186, 18, 24)HEX to RGB Converter →

HEX to HSL

Convert #BA1218 to HSL:

hsl(358, 82%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #BA1218 to CMYK:

cmyk(0%, 90%, 87%, 27%)Color Converter →

Color Meaning and Usage

A bold red tone, #BA1218 has RGB (186, 18, 24) and HSL (358°, 82%, 40%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA1218 is #12BAB4, creating high-contrast pairings. For softer combinations, try analogous colors like #BA126C.

Use #BA1218 in CSS: color: #BA1218 or background-color: #BA1218. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #BA1218

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.19:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA1218?

#BA1218 is a bold red color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA1218?

#BA1218 in RGB is (186, 18, 24) - 186 red, 18 green, and 24 blue.

How to use #BA1218 in CSS?

Use #BA1218 directly in your CSS properties like color or background-color.

What colors go well with #BA1218?

#12BAB4 (complementary), #BA126C (analogous), and #740B0F (lighter shade) work well with #BA1218.