#BA2A17 Color Information

Hex color code: #BA2A17

The hex color #BA2A17 is a vivid red with RGB values of (186, 42, 23) and HSL of (7°, 78%, 41%). It is commonly used in modern UI design.

Try:
Color NameFirebrick
HEX
#BA2A17
RGB
186, 42, 23
HSL
7°, 78%, 41%
CMYK
0%, 77%, 88%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #BA2A17; 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 #BA2A17; background-color: #BA2A1715; }

Alert / Toast

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

Link / Accent

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

a { color: #BA2A17; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 42, 23

Red: 186 / Green: 42 / Blue: 23

HSL

7°, 78%, 41%

Hue: 7° / Saturation: 78% / Lightness: 41%

CMYK

0%, 77%, 88%, 27%

Cyan: 0% / Magenta: 77% / Yellow: 88% / Key: 27%

What color is #BA2A17?

#BA2A17 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA2A17 to RGB:

rgb(186, 42, 23)HEX to RGB Converter →

HEX to HSL

Convert #BA2A17 to HSL:

hsl(7, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #BA2A17 to CMYK:

cmyk(0%, 77%, 88%, 27%)Color Converter →

Color Meaning and Usage

#BA2A17 is a striking red color with RGB values of 186, 42, 23 and HSL of 7°, 78%, 41%. This red-orange hue evokes warmth and passion, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA2A17 is #17A7BA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA1756.

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

Contrast with #BA2A17

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA2A17?

#BA2A17 is a striking red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #BA2A17?

#BA2A17 in RGB is (186, 42, 23) - 186 red, 42 green, and 23 blue.

How to use #BA2A17 in CSS?

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

What colors go well with #BA2A17?

#17A7BA (complementary), #BA1756 (analogous), and #761B0F (lighter shade) work well with #BA2A17.