#D8417D Color Information

Hex color code: #D8417D

#D8417D is a vibrant magenta color. In RGB it is (216, 65, 125), and in HSL it is (336°, 66%, 55%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#D8417D
RGB
216, 65, 125
HSL
336°, 66%, 55%
CMYK
0%, 70%, 42%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8417D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 65, 125

Red: 216 / Green: 65 / Blue: 125

HSL

336°, 66%, 55%

Hue: 336° / Saturation: 66% / Lightness: 55%

CMYK

0%, 70%, 42%, 15%

Cyan: 0% / Magenta: 70% / Yellow: 42% / Key: 15%

What color is #D8417D?

#D8417D is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8417D to RGB:

rgb(216, 65, 125)HEX to RGB Converter →

HEX to HSL

Convert #D8417D to HSL:

hsl(336, 66%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #D8417D to CMYK:

cmyk(0%, 70%, 42%, 15%)Color Converter →

Color Meaning and Usage

A invigorating magenta tone, #D8417D has RGB (216, 65, 125) and HSL (336°, 66%, 55%). Known for evoking warmth and passion, this red-orange hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8417D is #41D89B, creating high-contrast pairings. For softer combinations, try analogous colors like #D841C9.

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

Contrast with #D8417D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8417D?

#D8417D is a invigorating magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D8417D?

#D8417D in RGB is (216, 65, 125) - 216 red, 65 green, and 125 blue.

How to use #D8417D in CSS?

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

What colors go well with #D8417D?

#41D89B (complementary), #D841C9 (analogous), and #A92359 (lighter shade) work well with #D8417D.