#B172AA Color Information

Hex color code: #B172AA

The hex color #B172AA is a soft magenta with RGB values of (177, 114, 170) and HSL of (307°, 29%, 57%). It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#B172AA
RGB
177, 114, 170
HSL
307°, 29%, 57%
CMYK
0%, 36%, 4%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B172AA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 114, 170

Red: 177 / Green: 114 / Blue: 170

HSL

307°, 29%, 57%

Hue: 307° / Saturation: 29% / Lightness: 57%

CMYK

0%, 36%, 4%, 31%

Cyan: 0% / Magenta: 36% / Yellow: 4% / Key: 31%

What color is #B172AA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B172AA to RGB:

rgb(177, 114, 170)HEX to RGB Converter →

HEX to HSL

Convert #B172AA to HSL:

hsl(307, 29%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #B172AA to CMYK:

cmyk(0%, 36%, 4%, 31%)Color Converter →

Color Meaning and Usage

#B172AA is a soft magenta color with RGB values of 177, 114, 170 and HSL of 307°, 29%, 57%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B172AA is #72B179, creating high-contrast pairings. For softer combinations, try analogous colors like #9972B1.

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

Contrast with #B172AA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B172AA?

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

What is the RGB value of #B172AA?

#B172AA in RGB is (177, 114, 170) - 177 red, 114 green, and 170 blue.

How to use #B172AA in CSS?

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

What colors go well with #B172AA?

#72B179 (complementary), #9972B1 (analogous), and #8A4C83 (lighter shade) work well with #B172AA.