#BA1BC5 Color Information

Hex color code: #BA1BC5

A bold magenta shade, #BA1BC5 appears as (186, 27, 197) in RGB and (296°, 76%, 44%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#BA1BC5
RGB
186, 27, 197
HSL
296°, 76%, 44%
CMYK
6%, 86%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA1BC5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 27, 197

Red: 186 / Green: 27 / Blue: 197

HSL

296°, 76%, 44%

Hue: 296° / Saturation: 76% / Lightness: 44%

CMYK

6%, 86%, 0%, 23%

Cyan: 6% / Magenta: 86% / Yellow: 0% / Key: 23%

What color is #BA1BC5?

#BA1BC5 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA1BC5 to RGB:

rgb(186, 27, 197)HEX to RGB Converter →

HEX to HSL

Convert #BA1BC5 to HSL:

hsl(296, 76%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #BA1BC5 to CMYK:

cmyk(6%, 86%, 0%, 23%)Color Converter →

Color Meaning and Usage

#BA1BC5 is a vivid magenta color with RGB values of 186, 27, 197 and HSL of 296°, 76%, 44%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA1BC5 is #26C51B, creating high-contrast pairings. For softer combinations, try analogous colors like #651BC5.

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

Contrast with #BA1BC5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA1BC5?

#BA1BC5 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA1BC5?

#BA1BC5 in RGB is (186, 27, 197) - 186 red, 27 green, and 197 blue.

How to use #BA1BC5 in CSS?

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

What colors go well with #BA1BC5?

#26C51B (complementary), #651BC5 (analogous), and #7B1282 (lighter shade) work well with #BA1BC5.