#B04F98 Color Information

Hex color code: #B04F98

The hex color #B04F98 is a gentle magenta with RGB values of (176, 79, 152) and HSL of (315°, 38%, 50%). It is frequently seen in web interfaces.

Try:
Color NamePale Violet Red
HEX
#B04F98
RGB
176, 79, 152
HSL
315°, 38%, 50%
CMYK
0%, 55%, 14%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B04F98; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

176, 79, 152

Red: 176 / Green: 79 / Blue: 152

HSL

315°, 38%, 50%

Hue: 315° / Saturation: 38% / Lightness: 50%

CMYK

0%, 55%, 14%, 31%

Cyan: 0% / Magenta: 55% / Yellow: 14% / Key: 31%

What color is #B04F98?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B04F98 to RGB:

rgb(176, 79, 152)HEX to RGB Converter →

HEX to HSL

Convert #B04F98 to HSL:

hsl(315, 38%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #B04F98 to CMYK:

cmyk(0%, 55%, 14%, 31%)Color Converter →

Color Meaning and Usage

#B04F98 is a gentle magenta color with RGB values of 176, 79, 152 and HSL of 315°, 38%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B04F98 is #4FB067, creating high-contrast pairings. For softer combinations, try analogous colors like #984FB0.

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

Contrast with #B04F98

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B04F98?

#B04F98 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B04F98?

#B04F98 in RGB is (176, 79, 152) - 176 red, 79 green, and 152 blue.

How to use #B04F98 in CSS?

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

What colors go well with #B04F98?

#4FB067 (complementary), #984FB0 (analogous), and #7B376A (lighter shade) work well with #B04F98.