#D171BC Color Information

Hex color code: #D171BC

#D171BC is a understated magenta color. In RGB it is (209, 113, 188), and in HSL it is (313°, 51%, 63%). It is widely used in graphic design.

Try:
Color NamePale Violet Red
HEX
#D171BC
RGB
209, 113, 188
HSL
313°, 51%, 63%
CMYK
0%, 46%, 10%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D171BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 113, 188

Red: 209 / Green: 113 / Blue: 188

HSL

313°, 51%, 63%

Hue: 313° / Saturation: 51% / Lightness: 63%

CMYK

0%, 46%, 10%, 18%

Cyan: 0% / Magenta: 46% / Yellow: 10% / Key: 18%

What color is #D171BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D171BC to RGB:

rgb(209, 113, 188)HEX to RGB Converter →

HEX to HSL

Convert #D171BC to HSL:

hsl(313, 51%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #D171BC to CMYK:

cmyk(0%, 46%, 10%, 18%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #D171BC has RGB (209, 113, 188) and HSL (313°, 51%, 63%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D171BC is #71D185, creating high-contrast pairings. For softer combinations, try analogous colors like #B671D1.

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

Contrast with #D171BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D171BC?

#D171BC is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D171BC?

#D171BC in RGB is (209, 113, 188) - 209 red, 113 green, and 188 blue.

How to use #D171BC in CSS?

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

What colors go well with #D171BC?

#71D185 (complementary), #B671D1 (analogous), and #B93C9E (lighter shade) work well with #D171BC.