#BA2161 Color Information

Hex color code: #BA2161

The hex color #BA2161 is a vibrant magenta with RGB values of (186, 33, 97) and HSL of (335°, 70%, 43%). It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#BA2161
RGB
186, 33, 97
HSL
335°, 70%, 43%
CMYK
0%, 82%, 48%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA2161; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 33, 97

Red: 186 / Green: 33 / Blue: 97

HSL

335°, 70%, 43%

Hue: 335° / Saturation: 70% / Lightness: 43%

CMYK

0%, 82%, 48%, 27%

Cyan: 0% / Magenta: 82% / Yellow: 48% / Key: 27%

What color is #BA2161?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA2161 to RGB:

rgb(186, 33, 97)HEX to RGB Converter →

HEX to HSL

Convert #BA2161 to HSL:

hsl(335, 70%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #BA2161 to CMYK:

cmyk(0%, 82%, 48%, 27%)Color Converter →

Color Meaning and Usage

A fiery magenta tone, #BA2161 has RGB (186, 33, 97) and HSL (335°, 70%, 43%). Known for evoking warmth and passion, this red-orange hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA2161 is #21BA7A, creating high-contrast pairings. For softer combinations, try analogous colors like #BA21AE.

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

Contrast with #BA2161

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA2161?

#BA2161 is a fiery magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #BA2161?

#BA2161 in RGB is (186, 33, 97) - 186 red, 33 green, and 97 blue.

How to use #BA2161 in CSS?

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

What colors go well with #BA2161?

#21BA7A (complementary), #BA21AE (analogous), and #79153F (lighter shade) work well with #BA2161.