#DD228C Color Information

Hex color code: #DD228C

#DD228C is a bold magenta color. In RGB it is (221, 34, 140), and in HSL it is (326°, 73%, 50%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#DD228C
RGB
221, 34, 140
HSL
326°, 73%, 50%
CMYK
0%, 85%, 37%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DD228C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

221, 34, 140

Red: 221 / Green: 34 / Blue: 140

HSL

326°, 73%, 50%

Hue: 326° / Saturation: 73% / Lightness: 50%

CMYK

0%, 85%, 37%, 13%

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

What color is #DD228C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DD228C to RGB:

rgb(221, 34, 140)HEX to RGB Converter →

HEX to HSL

Convert #DD228C to HSL:

hsl(326, 73%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #DD228C to CMYK:

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

Color Meaning and Usage

#DD228C is a eye-catching magenta color with RGB values of 221, 34, 140 and HSL of 326°, 73%, 50%. 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 #DD228C is #22DD73, creating high-contrast pairings. For softer combinations, try analogous colors like #D022DD.

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

Contrast with #DD228C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DD228C?

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

What is the RGB value of #DD228C?

#DD228C in RGB is (221, 34, 140) - 221 red, 34 green, and 140 blue.

How to use #DD228C in CSS?

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

What colors go well with #DD228C?

#22DD73 (complementary), #D022DD (analogous), and #9A1862 (lighter shade) work well with #DD228C.