#B171C6 Color Information

Hex color code: #B171C6

#B171C6 is a pastel magenta color. In RGB it is (177, 113, 198), and in HSL it is (285°, 43%, 61%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#B171C6
RGB
177, 113, 198
HSL
285°, 43%, 61%
CMYK
11%, 43%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B171C6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 113, 198

Red: 177 / Green: 113 / Blue: 198

HSL

285°, 43%, 61%

Hue: 285° / Saturation: 43% / Lightness: 61%

CMYK

11%, 43%, 0%, 22%

Cyan: 11% / Magenta: 43% / Yellow: 0% / Key: 22%

What color is #B171C6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B171C6 to RGB:

rgb(177, 113, 198)HEX to RGB Converter →

HEX to HSL

Convert #B171C6 to HSL:

hsl(285, 43%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #B171C6 to CMYK:

cmyk(11%, 43%, 0%, 22%)Color Converter →

Color Meaning and Usage

#B171C6 is a subtle magenta color with RGB values of 177, 113, 198 and HSL of 285°, 43%, 61%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B171C6 is #86C671, creating high-contrast pairings. For softer combinations, try analogous colors like #8671C6.

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

Contrast with #B171C6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B171C6?

#B171C6 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B171C6?

#B171C6 in RGB is (177, 113, 198) - 177 red, 113 green, and 198 blue.

How to use #B171C6 in CSS?

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

What colors go well with #B171C6?

#86C671 (complementary), #8671C6 (analogous), and #8F43A8 (lighter shade) work well with #B171C6.