#D016A7 Color Information

Hex color code: #D016A7

The hex color #D016A7 is a striking magenta with RGB values of (208, 22, 167) and HSL of (313°, 81%, 45%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#D016A7
RGB
208, 22, 167
HSL
313°, 81%, 45%
CMYK
0%, 89%, 20%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #D016A7; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #D016A7; color: #FFFFFF; }

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 #D016A7; background-color: #D016A715; }

Alert / Toast

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

Link / Accent

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

a { color: #D016A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

208, 22, 167

Red: 208 / Green: 22 / Blue: 167

HSL

313°, 81%, 45%

Hue: 313° / Saturation: 81% / Lightness: 45%

CMYK

0%, 89%, 20%, 18%

Cyan: 0% / Magenta: 89% / Yellow: 20% / Key: 18%

What color is #D016A7?

#D016A7 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D016A7 to RGB:

rgb(208, 22, 167)HEX to RGB Converter →

HEX to HSL

Convert #D016A7 to HSL:

hsl(313, 81%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #D016A7 to CMYK:

cmyk(0%, 89%, 20%, 18%)Color Converter →

Color Meaning and Usage

#D016A7 is a striking magenta color with RGB values of 208, 22, 167 and HSL of 313°, 81%, 45%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D016A7 is #16D03E, creating high-contrast pairings. For softer combinations, try analogous colors like #9B16D0.

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

Contrast with #D016A7

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

Contrast Ratio: 4.35:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D016A7?

#D016A7 is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D016A7?

#D016A7 in RGB is (208, 22, 167) - 208 red, 22 green, and 167 blue.

How to use #D016A7 in CSS?

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

What colors go well with #D016A7?

#16D03E (complementary), #9B16D0 (analogous), and #8A0F70 (lighter shade) work well with #D016A7.