#BA124D Color Information

Hex color code: #BA124D

A eye-catching magenta shade, #BA124D appears as (186, 18, 77) in RGB and (339°, 82%, 40%) in HSL. It is widely used in graphic design.

Try:
Color NameCrimson
HEX
#BA124D
RGB
186, 18, 77
HSL
339°, 82%, 40%
CMYK
0%, 90%, 59%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA124D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 18, 77

Red: 186 / Green: 18 / Blue: 77

HSL

339°, 82%, 40%

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

CMYK

0%, 90%, 59%, 27%

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

What color is #BA124D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA124D to RGB:

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

HEX to HSL

Convert #BA124D to HSL:

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

HEX to CMYK

Convert #BA124D to CMYK:

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

Color Meaning and Usage

A eye-catching magenta tone, #BA124D has RGB (186, 18, 77) and HSL (339°, 82%, 40%). Known for evoking energy and excitement, this highly saturated hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA124D is #12BA7F, creating high-contrast pairings. For softer combinations, try analogous colors like #BA12A1.

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

Contrast with #BA124D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA124D?

#BA124D is a eye-catching magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA124D?

#BA124D in RGB is (186, 18, 77) - 186 red, 18 green, and 77 blue.

How to use #BA124D in CSS?

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

What colors go well with #BA124D?

#12BA7F (complementary), #BA12A1 (analogous), and #740B30 (lighter shade) work well with #BA124D.