#BA129B Color Information

Hex color code: #BA129B

The hex color #BA129B is a vivid magenta with RGB values of (186, 18, 155) and HSL of (311°, 82%, 40%). It is commonly used in modern UI design.

Try:
Color NameMedium Violet Red
HEX
#BA129B
RGB
186, 18, 155
HSL
311°, 82%, 40%
CMYK
0%, 90%, 17%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA129B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 18, 155

Red: 186 / Green: 18 / Blue: 155

HSL

311°, 82%, 40%

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

CMYK

0%, 90%, 17%, 27%

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

What color is #BA129B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA129B to RGB:

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

HEX to HSL

Convert #BA129B to HSL:

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

HEX to CMYK

Convert #BA129B to CMYK:

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

Color Meaning and Usage

A bold magenta tone, #BA129B has RGB (186, 18, 155) and HSL (311°, 82%, 40%). Known for evoking energy and excitement, this highly saturated hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA129B is #12BA31, creating high-contrast pairings. For softer combinations, try analogous colors like #8512BA.

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

Contrast with #BA129B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA129B?

#BA129B is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA129B?

#BA129B in RGB is (186, 18, 155) - 186 red, 18 green, and 155 blue.

How to use #BA129B in CSS?

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

What colors go well with #BA129B?

#12BA31 (complementary), #8512BA (analogous), and #740B61 (lighter shade) work well with #BA129B.