#DF31AD Color Information

Hex color code: #DF31AD

The hex color #DF31AD is a striking magenta with RGB values of (223, 49, 173) and HSL of (317°, 73%, 53%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#DF31AD
RGB
223, 49, 173
HSL
317°, 73%, 53%
CMYK
0%, 78%, 22%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DF31AD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 49, 173

Red: 223 / Green: 49 / Blue: 173

HSL

317°, 73%, 53%

Hue: 317° / Saturation: 73% / Lightness: 53%

CMYK

0%, 78%, 22%, 13%

Cyan: 0% / Magenta: 78% / Yellow: 22% / Key: 13%

What color is #DF31AD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DF31AD to RGB:

rgb(223, 49, 173)HEX to RGB Converter →

HEX to HSL

Convert #DF31AD to HSL:

hsl(317, 73%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #DF31AD to CMYK:

cmyk(0%, 78%, 22%, 13%)Color Converter →

Color Meaning and Usage

#DF31AD is a dynamic magenta color with RGB values of 223, 49, 173 and HSL of 317°, 73%, 53%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DF31AD is #30DF61, creating high-contrast pairings. For softer combinations, try analogous colors like #B930DF.

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

Contrast with #DF31AD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DF31AD?

#DF31AD is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DF31AD?

#DF31AD in RGB is (223, 49, 173) - 223 red, 49 green, and 173 blue.

How to use #DF31AD in CSS?

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

What colors go well with #DF31AD?

#30DF61 (complementary), #B930DF (analogous), and #A81A80 (lighter shade) work well with #DF31AD.