#BA8CAC Color Information

Hex color code: #BA8CAC

A pastel magenta shade, #BA8CAC appears as (186, 140, 172) in RGB and (318°, 25%, 64%) in HSL. It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#BA8CAC
RGB
186, 140, 172
HSL
318°, 25%, 64%
CMYK
0%, 25%, 8%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #BA8CAC; color: #000000; }

Badge

New Feature
.badge { background-color: #BA8CAC; color: #000000; }

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 #BA8CAC; background-color: #BA8CAC15; }

Alert / Toast

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

Link / Accent

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

a { color: #BA8CAC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 140, 172

Red: 186 / Green: 140 / Blue: 172

HSL

318°, 25%, 64%

Hue: 318° / Saturation: 25% / Lightness: 64%

CMYK

0%, 25%, 8%, 27%

Cyan: 0% / Magenta: 25% / Yellow: 8% / Key: 27%

What color is #BA8CAC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA8CAC to RGB:

rgb(186, 140, 172)HEX to RGB Converter →

HEX to HSL

Convert #BA8CAC to HSL:

hsl(318, 25%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #BA8CAC to CMYK:

cmyk(0%, 25%, 8%, 27%)Color Converter →

Color Meaning and Usage

#BA8CAC is a delicate magenta color with RGB values of 186, 140, 172 and HSL of 318°, 25%, 64%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA8CAC is #8CBA9A, creating high-contrast pairings. For softer combinations, try analogous colors like #B18CBA.

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

Contrast with #BA8CAC

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

Contrast Ratio: 7.43:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA8CAC?

#BA8CAC is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA8CAC?

#BA8CAC in RGB is (186, 140, 172) - 186 red, 140 green, and 172 blue.

How to use #BA8CAC in CSS?

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

What colors go well with #BA8CAC?

#8CBA9A (complementary), #B18CBA (analogous), and #9C5E89 (lighter shade) work well with #BA8CAC.