#BA438A Color Information

Hex color code: #BA438A

A pastel magenta shade, #BA438A appears as (186, 67, 138) in RGB and (324°, 47%, 50%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#BA438A
RGB
186, 67, 138
HSL
324°, 47%, 50%
CMYK
0%, 64%, 26%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA438A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 67, 138

Red: 186 / Green: 67 / Blue: 138

HSL

324°, 47%, 50%

Hue: 324° / Saturation: 47% / Lightness: 50%

CMYK

0%, 64%, 26%, 27%

Cyan: 0% / Magenta: 64% / Yellow: 26% / Key: 27%

What color is #BA438A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA438A to RGB:

rgb(186, 67, 138)HEX to RGB Converter →

HEX to HSL

Convert #BA438A to HSL:

hsl(324, 47%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #BA438A to CMYK:

cmyk(0%, 64%, 26%, 27%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #BA438A has RGB (186, 67, 138) and HSL (324°, 47%, 50%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA438A is #44BB74, creating high-contrast pairings. For softer combinations, try analogous colors like #AF44BB.

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

Contrast with #BA438A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA438A?

#BA438A is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA438A?

#BA438A in RGB is (186, 67, 138) - 186 red, 67 green, and 138 blue.

How to use #BA438A in CSS?

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

What colors go well with #BA438A?

#44BB74 (complementary), #AF44BB (analogous), and #832F62 (lighter shade) work well with #BA438A.