#BA1293 Color Information

Hex color code: #BA1293

#BA1293 is a bold magenta color. In RGB it is (186, 18, 147), and in HSL it is (314°, 82%, 40%). It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#BA1293
RGB
186, 18, 147
HSL
314°, 82%, 40%
CMYK
0%, 90%, 21%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA1293; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 18, 147

Red: 186 / Green: 18 / Blue: 147

HSL

314°, 82%, 40%

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

CMYK

0%, 90%, 21%, 27%

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

What color is #BA1293?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA1293 to RGB:

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

HEX to HSL

Convert #BA1293 to HSL:

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

HEX to CMYK

Convert #BA1293 to CMYK:

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

Color Meaning and Usage

#BA1293 is a dynamic magenta color with RGB values of 186, 18, 147 and HSL of 314°, 82%, 40%. This highly saturated hue evokes energy and excitement, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA1293 is #12BA39, creating high-contrast pairings. For softer combinations, try analogous colors like #8D12BA.

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

Contrast with #BA1293

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA1293?

#BA1293 is a dynamic magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA1293?

#BA1293 in RGB is (186, 18, 147) - 186 red, 18 green, and 147 blue.

How to use #BA1293 in CSS?

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

What colors go well with #BA1293?

#12BA39 (complementary), #8D12BA (analogous), and #740B5C (lighter shade) work well with #BA1293.