#B45F96 Color Information

Hex color code: #B45F96

#B45F96 is a gentle magenta color. In RGB it is (180, 95, 150), and in HSL it is (321°, 36%, 54%). It is frequently seen in web interfaces.

Try:
Color NamePale Violet Red
HEX
#B45F96
RGB
180, 95, 150
HSL
321°, 36%, 54%
CMYK
0%, 47%, 17%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B45F96; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 95, 150

Red: 180 / Green: 95 / Blue: 150

HSL

321°, 36%, 54%

Hue: 321° / Saturation: 36% / Lightness: 54%

CMYK

0%, 47%, 17%, 29%

Cyan: 0% / Magenta: 47% / Yellow: 17% / Key: 29%

What color is #B45F96?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B45F96 to RGB:

rgb(180, 95, 150)HEX to RGB Converter →

HEX to HSL

Convert #B45F96 to HSL:

hsl(321, 36%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #B45F96 to CMYK:

cmyk(0%, 47%, 17%, 29%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #B45F96 has RGB (180, 95, 150) and HSL (321°, 36%, 54%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B45F96 is #5FB47D, creating high-contrast pairings. For softer combinations, try analogous colors like #A75FB4.

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

Contrast with #B45F96

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

Contrast Ratio: 5.02:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B45F96?

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

What is the RGB value of #B45F96?

#B45F96 in RGB is (180, 95, 150) - 180 red, 95 green, and 150 blue.

How to use #B45F96 in CSS?

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

What colors go well with #B45F96?

#5FB47D (complementary), #A75FB4 (analogous), and #87406E (lighter shade) work well with #B45F96.