#D166B5 Color Information

Hex color code: #D166B5

A neutral magenta shade, #D166B5 appears as (209, 102, 181) in RGB and (316°, 54%, 61%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePale Violet Red
HEX
#D166B5
RGB
209, 102, 181
HSL
316°, 54%, 61%
CMYK
0%, 51%, 13%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D166B5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 102, 181

Red: 209 / Green: 102 / Blue: 181

HSL

316°, 54%, 61%

Hue: 316° / Saturation: 54% / Lightness: 61%

CMYK

0%, 51%, 13%, 18%

Cyan: 0% / Magenta: 51% / Yellow: 13% / Key: 18%

What color is #D166B5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D166B5 to RGB:

rgb(209, 102, 181)HEX to RGB Converter →

HEX to HSL

Convert #D166B5 to HSL:

hsl(316, 54%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #D166B5 to CMYK:

cmyk(0%, 51%, 13%, 18%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #D166B5 has RGB (209, 102, 181) and HSL (316°, 54%, 61%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D166B5 is #66D182, creating high-contrast pairings. For softer combinations, try analogous colors like #B866D1.

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

Contrast with #D166B5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D166B5?

#D166B5 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D166B5?

#D166B5 in RGB is (209, 102, 181) - 209 red, 102 green, and 181 blue.

How to use #D166B5 in CSS?

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

What colors go well with #D166B5?

#66D182 (complementary), #B866D1 (analogous), and #B53693 (lighter shade) work well with #D166B5.