#D917A5 Color Information

Hex color code: #D917A5

#D917A5 is a eye-catching magenta color. In RGB it is (217, 23, 165), and in HSL it is (316°, 81%, 47%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#D917A5
RGB
217, 23, 165
HSL
316°, 81%, 47%
CMYK
0%, 89%, 24%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D917A5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 23, 165

Red: 217 / Green: 23 / Blue: 165

HSL

316°, 81%, 47%

Hue: 316° / Saturation: 81% / Lightness: 47%

CMYK

0%, 89%, 24%, 15%

Cyan: 0% / Magenta: 89% / Yellow: 24% / Key: 15%

What color is #D917A5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D917A5 to RGB:

rgb(217, 23, 165)HEX to RGB Converter →

HEX to HSL

Convert #D917A5 to HSL:

hsl(316, 81%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #D917A5 to CMYK:

cmyk(0%, 89%, 24%, 15%)Color Converter →

Color Meaning and Usage

#D917A5 is a bold magenta color with RGB values of 217, 23, 165 and HSL of 316°, 81%, 47%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D917A5 is #17D94B, creating high-contrast pairings. For softer combinations, try analogous colors like #AC17D9.

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

Contrast with #D917A5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D917A5?

#D917A5 is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D917A5?

#D917A5 in RGB is (217, 23, 165) - 217 red, 23 green, and 165 blue.

How to use #D917A5 in CSS?

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

What colors go well with #D917A5?

#17D94B (complementary), #AC17D9 (analogous), and #941070 (lighter shade) work well with #D917A5.