✓ Copied to clipboard
#BA4AA2 (Magenta) color swatch preview — Color From Pic.
#BA4AA2 — Magenta color swatch

Magenta

#BA4AA2

📝 Color Information for #BA4AA2

The hexadecimal color code #BA4AA2 represents a medium shade in the purple family. In the RGB color model, this color is composed of 186 red, 74 green, and 162 blue, which translates to approximately 73% red, 29% green, and 64% blue. This makes it a slightly desaturated color with warm undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #BA4AA2 has a hue of 313 degrees, a saturation level of 45%, and a lightness value of 51%. The hue angle of 313° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 313°, saturation of 60%, and brightness/value of 73%. For print applications using the CMYK color model, #BA4AA2 would be reproduced using 0% cyan, 60% magenta, 13% yellow, and 27% black. The closest web-safe color is #CC3399, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #BA4AA2 with other colors, consider its complementary color at hue 133° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 12208802, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #BA4AA2

Tailwind CSS
pink-500
HEX
#BA4AA2
RGB
rgb(186, 74, 162)
RGB %
73%, 29%, 64%
HSL
hsl(313, 45%, 51%)
HSV
hsv(313, 60%, 73%)
CMYK
0%, 60%, 13%, 27%
Decimal
12208802
Web Safe
#CC3399

🎨 Color Schemes for #BA4AA2

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #BA4AA2

🌗 Shades and Tints of #BA4AA2

Shades (adding black)
Tints (adding white)

🎚️ Tones of #BA4AA2

Tones (adding gray / desaturating)

🌈 Hue Variations of #BA4AA2

Hue Variations (shifting the color spectrum)

👁️ Preview of #BA4AA2 in Use

Text on #BA4AA2
This demonstrates text readability on the color background. (Click to edit)
#BA4AA2 as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #BA4AA2

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #BA4AA2

:root { --color-hex: #BA4AA2; --color-rgb: 186, 74, 162; --color-hsl: 313, 45%, 51%; } .bg-color { background-color: #BA4AA2; } .text-color { color: #BA4AA2; } .border-color { border-color: #BA4AA2; }

🛠️ Use #BA4AA2 in Your Project

🎨
Build a Palette with #BA4AA2
Generate harmonious color schemes
⚖️
Check Contrast for #BA4AA2
WCAG accessibility testing
🌈
Create a Gradient with #BA4AA2
Beautiful CSS gradients

🔗 Related Colors to #BA4AA2

#9A4ABA
Hue -30°
#B74ABA
Hue -15°
#BA4A86
Hue +15°
#BA4A6A
Hue +30°
#9F3C8A
85% L
#853273
70% L
#602453
50% L
#371530
30% L
#C86FB5
61% L
#D694C8
71% L
#E3B5D9
80% L
#F1DAEC
90% L

About Magenta (#BA4AA2)

Magenta is a medium, moderately saturated, warm purple color with a hue angle of 313°, saturation of 45%, and lightness of 51%. Its RGB value is (186, 74, 162) and its CMYK breakdown is C:0% M:60% Y:13% K:27%.

This is a Summer (Cool) color palette archetype. Royalty, Luxury, Ambition, Magic. Purple combines the stability of blue and the energy of red.

Frequently Asked Questions About #BA4AA2

What is the HEX code for Magenta? +

The HEX code for Magenta is #BA4AA2. In CSS you can use it directly as color: #BA4AA2; or as a background: background-color: #BA4AA2;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #BA4AA2? +

The RGB value of #BA4AA2 is rgb(186, 74, 162). This means the color contains 186 out of 255 parts red, 74 out of 255 parts green, and 162 out of 255 parts blue. Red is the strongest channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(186, 74, 162);

What is the HSL value of #BA4AA2? +

The HSL value of #BA4AA2 is hsl(313, 45%, 51%). The hue is 313°, placing it in the purple family on the color wheel. The saturation is 45%, making it moderately saturated. The lightness is 51%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #BA4AA2 a warm or cool color? +

#BA4AA2 is classified as a warm color based on its hue angle of 313°. Warm colors — reds, oranges, and yellows — evoke energy, enthusiasm, and urgency. They tend to advance visually and draw the eye. In design, warm colors are often used for calls-to-action, food and hospitality brands, and anywhere a feeling of warmth or excitement is desired.

What is the CMYK value of #BA4AA2? +

The approximate CMYK value of #BA4AA2 is C:0% M:60% Y:13% K:27%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #BA4AA2 with Other Tools

🔢
Color Converter
Get all formats for #BA4AA2 — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #BA4AA2 passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #BA4AA2.
👓
Blindness Simulator
See how #BA4AA2 appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #BA4AA2.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #BA4AA2.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #BA4AA2.
🔬
Technical Formats
See #BA4AA2 in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #BA4AA2 as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.