#B172A0 Color Information

Hex color code: #B172A0

#B172A0 is a delicate magenta color. In RGB it is (177, 114, 160), and in HSL it is (316°, 29%, 57%). It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#B172A0
RGB
177, 114, 160
HSL
316°, 29%, 57%
CMYK
0%, 36%, 10%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B172A0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 114, 160

Red: 177 / Green: 114 / Blue: 160

HSL

316°, 29%, 57%

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

CMYK

0%, 36%, 10%, 31%

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

What color is #B172A0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B172A0 to RGB:

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

HEX to HSL

Convert #B172A0 to HSL:

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

HEX to CMYK

Convert #B172A0 to CMYK:

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

Color Meaning and Usage

A pastel magenta tone, #B172A0 has RGB (177, 114, 160) and HSL (316°, 29%, 57%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B172A0 is #72B183, creating high-contrast pairings. For softer combinations, try analogous colors like #A272B1.

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

Contrast with #B172A0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B172A0?

#B172A0 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B172A0?

#B172A0 in RGB is (177, 114, 160) - 177 red, 114 green, and 160 blue.

How to use #B172A0 in CSS?

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

What colors go well with #B172A0?

#72B183 (complementary), #A272B1 (analogous), and #8A4C7A (lighter shade) work well with #B172A0.