#D22DA6 Color Information

Hex color code: #D22DA6

The hex color #D22DA6 is a balanced magenta with RGB values of (210, 45, 166) and HSL of (316°, 65%, 50%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#D22DA6
RGB
210, 45, 166
HSL
316°, 65%, 50%
CMYK
0%, 79%, 21%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D22DA6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 45, 166

Red: 210 / Green: 45 / Blue: 166

HSL

316°, 65%, 50%

Hue: 316° / Saturation: 65% / Lightness: 50%

CMYK

0%, 79%, 21%, 18%

Cyan: 0% / Magenta: 79% / Yellow: 21% / Key: 18%

What color is #D22DA6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D22DA6 to RGB:

rgb(210, 45, 166)HEX to RGB Converter →

HEX to HSL

Convert #D22DA6 to HSL:

hsl(316, 65%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D22DA6 to CMYK:

cmyk(0%, 79%, 21%, 18%)Color Converter →

Color Meaning and Usage

#D22DA6 is a neutral magenta color with RGB values of 210, 45, 166 and HSL of 316°, 65%, 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 #D22DA6 is #2DD259, creating high-contrast pairings. For softer combinations, try analogous colors like #AC2DD2.

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

Contrast with #D22DA6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D22DA6?

#D22DA6 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D22DA6?

#D22DA6 in RGB is (210, 45, 166) - 210 red, 45 green, and 166 blue.

How to use #D22DA6 in CSS?

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

What colors go well with #D22DA6?

#2DD259 (complementary), #AC2DD2 (analogous), and #931F74 (lighter shade) work well with #D22DA6.