#D818A5 Color Information

Hex color code: #D818A5

The hex color #D818A5 is a eye-catching magenta with RGB values of (216, 24, 165) and HSL of (316°, 80%, 47%). It is widely used in graphic design.

Try:
Color NameViolet Red
HEX
#D818A5
RGB
216, 24, 165
HSL
316°, 80%, 47%
CMYK
0%, 89%, 24%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D818A5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 24, 165

Red: 216 / Green: 24 / Blue: 165

HSL

316°, 80%, 47%

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

CMYK

0%, 89%, 24%, 15%

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

What color is #D818A5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D818A5 to RGB:

rgb(216, 24, 165)HEX to RGB Converter →

HEX to HSL

Convert #D818A5 to HSL:

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

HEX to CMYK

Convert #D818A5 to CMYK:

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

Color Meaning and Usage

#D818A5 is a striking magenta color with RGB values of 216, 24, 165 and HSL of 316°, 80%, 47%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D818A5 is #18D84B, creating high-contrast pairings. For softer combinations, try analogous colors like #AB18D8.

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

Contrast with #D818A5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D818A5?

#D818A5 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D818A5?

#D818A5 in RGB is (216, 24, 165) - 216 red, 24 green, and 165 blue.

How to use #D818A5 in CSS?

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

What colors go well with #D818A5?

#18D84B (complementary), #AB18D8 (analogous), and #931070 (lighter shade) work well with #D818A5.