#BA171C Color Information

Hex color code: #BA171C

A dynamic red shade, #BA171C appears as (186, 23, 28) in RGB and (358°, 78%, 41%) in HSL. It is typically applied in digital products.

Try:
Color NameFirebrick
HEX
#BA171C
RGB
186, 23, 28
HSL
358°, 78%, 41%
CMYK
0%, 88%, 85%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA171C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 23, 28

Red: 186 / Green: 23 / Blue: 28

HSL

358°, 78%, 41%

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

CMYK

0%, 88%, 85%, 27%

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

What color is #BA171C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA171C to RGB:

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

HEX to HSL

Convert #BA171C to HSL:

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

HEX to CMYK

Convert #BA171C to CMYK:

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

Color Meaning and Usage

A bold red tone, #BA171C has RGB (186, 23, 28) and HSL (358°, 78%, 41%). Known for evoking warmth and passion, this red-orange hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA171C is #17BAB5, creating high-contrast pairings. For softer combinations, try analogous colors like #BA176E.

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

Contrast with #BA171C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA171C?

#BA171C is a bold red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #BA171C?

#BA171C in RGB is (186, 23, 28) - 186 red, 23 green, and 28 blue.

How to use #BA171C in CSS?

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

What colors go well with #BA171C?

#17BAB5 (complementary), #BA176E (analogous), and #760F12 (lighter shade) work well with #BA171C.