#DF31C7 Color Information

Hex color code: #DF31C7

The hex color #DF31C7 is a vivid magenta with RGB values of (223, 49, 199) and HSL of (308°, 73%, 53%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#DF31C7
RGB
223, 49, 199
HSL
308°, 73%, 53%
CMYK
0%, 78%, 11%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DF31C7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 49, 199

Red: 223 / Green: 49 / Blue: 199

HSL

308°, 73%, 53%

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

CMYK

0%, 78%, 11%, 13%

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

What color is #DF31C7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DF31C7 to RGB:

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

HEX to HSL

Convert #DF31C7 to HSL:

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

HEX to CMYK

Convert #DF31C7 to CMYK:

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

Color Meaning and Usage

#DF31C7 is a striking magenta color with RGB values of 223, 49, 199 and HSL of 308°, 73%, 53%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DF31C7 is #30DF47, creating high-contrast pairings. For softer combinations, try analogous colors like #9E30DF.

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

Contrast with #DF31C7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DF31C7?

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

What is the RGB value of #DF31C7?

#DF31C7 in RGB is (223, 49, 199) - 223 red, 49 green, and 199 blue.

How to use #DF31C7 in CSS?

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

What colors go well with #DF31C7?

#30DF47 (complementary), #9E30DF (analogous), and #A81A95 (lighter shade) work well with #DF31C7.