#DF2AB2 Color Information

Hex color code: #DF2AB2

A striking magenta shade, #DF2AB2 appears as (223, 42, 178) in RGB and (315°, 74%, 52%) in HSL. It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#DF2AB2
RGB
223, 42, 178
HSL
315°, 74%, 52%
CMYK
0%, 81%, 20%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DF2AB2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 42, 178

Red: 223 / Green: 42 / Blue: 178

HSL

315°, 74%, 52%

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

CMYK

0%, 81%, 20%, 13%

Cyan: 0% / Magenta: 81% / Yellow: 20% / Key: 13%

What color is #DF2AB2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DF2AB2 to RGB:

rgb(223, 42, 178)HEX to RGB Converter →

HEX to HSL

Convert #DF2AB2 to HSL:

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

HEX to CMYK

Convert #DF2AB2 to CMYK:

cmyk(0%, 81%, 20%, 13%)Color Converter →

Color Meaning and Usage

#DF2AB2 is a dynamic magenta color with RGB values of 223, 42, 178 and HSL of 315°, 74%, 52%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DF2AB2 is #2ADF57, creating high-contrast pairings. For softer combinations, try analogous colors like #B22ADF.

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

Contrast with #DF2AB2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DF2AB2?

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

What is the RGB value of #DF2AB2?

#DF2AB2 in RGB is (223, 42, 178) - 223 red, 42 green, and 178 blue.

How to use #DF2AB2 in CSS?

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

What colors go well with #DF2AB2?

#2ADF57 (complementary), #B22ADF (analogous), and #A41981 (lighter shade) work well with #DF2AB2.