#BA98A7 Color Information

Hex color code: #BA98A7

A soft magenta shade, #BA98A7 appears as (186, 152, 167) in RGB and (334°, 20%, 66%) in HSL. It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#BA98A7
RGB
186, 152, 167
HSL
334°, 20%, 66%
CMYK
0%, 18%, 10%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA98A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 152, 167

Red: 186 / Green: 152 / Blue: 167

HSL

334°, 20%, 66%

Hue: 334° / Saturation: 20% / Lightness: 66%

CMYK

0%, 18%, 10%, 27%

Cyan: 0% / Magenta: 18% / Yellow: 10% / Key: 27%

What color is #BA98A7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA98A7 to RGB:

rgb(186, 152, 167)HEX to RGB Converter →

HEX to HSL

Convert #BA98A7 to HSL:

hsl(334, 20%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #BA98A7 to CMYK:

cmyk(0%, 18%, 10%, 27%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #BA98A7 has RGB (186, 152, 167) and HSL (334°, 20%, 66%). Known for evoking warmth and passion, this red-orange hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA98A7 is #97BAAB, creating high-contrast pairings. For softer combinations, try analogous colors like #BA97B7.

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

Contrast with #BA98A7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA98A7?

#BA98A7 is a pastel magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #BA98A7?

#BA98A7 in RGB is (186, 152, 167) - 186 red, 152 green, and 167 blue.

How to use #BA98A7 in CSS?

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

What colors go well with #BA98A7?

#97BAAB (complementary), #BA97B7 (analogous), and #9B697F (lighter shade) work well with #BA98A7.