#DE21AF Color Information

Hex color code: #DE21AF

The hex color #DE21AF is a dynamic magenta with RGB values of (222, 33, 175) and HSL of (315°, 74%, 50%). It is typically applied in digital products.

Try:
Color NameViolet Red
HEX
#DE21AF
RGB
222, 33, 175
HSL
315°, 74%, 50%
CMYK
0%, 85%, 21%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DE21AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 33, 175

Red: 222 / Green: 33 / Blue: 175

HSL

315°, 74%, 50%

Hue: 315° / Saturation: 74% / Lightness: 50%

CMYK

0%, 85%, 21%, 13%

Cyan: 0% / Magenta: 85% / Yellow: 21% / Key: 13%

What color is #DE21AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DE21AF to RGB:

rgb(222, 33, 175)HEX to RGB Converter →

HEX to HSL

Convert #DE21AF to HSL:

hsl(315, 74%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #DE21AF to CMYK:

cmyk(0%, 85%, 21%, 13%)Color Converter →

Color Meaning and Usage

#DE21AF is a eye-catching magenta color with RGB values of 222, 33, 175 and HSL of 315°, 74%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DE21AF is #21DE50, creating high-contrast pairings. For softer combinations, try analogous colors like #AF21DE.

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

Contrast with #DE21AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DE21AF?

#DE21AF is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DE21AF?

#DE21AF in RGB is (222, 33, 175) - 222 red, 33 green, and 175 blue.

How to use #DE21AF in CSS?

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

What colors go well with #DE21AF?

#21DE50 (complementary), #AF21DE (analogous), and #9B177A (lighter shade) work well with #DE21AF.