#D22DCD Color Information

Hex color code: #D22DCD

#D22DCD is a muted magenta color. In RGB it is (210, 45, 205), and in HSL it is (302°, 65%, 50%). It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#D22DCD
RGB
210, 45, 205
HSL
302°, 65%, 50%
CMYK
0%, 79%, 2%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D22DCD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 45, 205

Red: 210 / Green: 45 / Blue: 205

HSL

302°, 65%, 50%

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

CMYK

0%, 79%, 2%, 18%

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

What color is #D22DCD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D22DCD to RGB:

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

HEX to HSL

Convert #D22DCD to HSL:

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

HEX to CMYK

Convert #D22DCD to CMYK:

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

Color Meaning and Usage

A balanced magenta tone, #D22DCD has RGB (210, 45, 205) and HSL (302°, 65%, 50%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D22DCD is #2DD232, creating high-contrast pairings. For softer combinations, try analogous colors like #852DD2.

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

Contrast with #D22DCD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D22DCD?

#D22DCD is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D22DCD?

#D22DCD in RGB is (210, 45, 205) - 210 red, 45 green, and 205 blue.

How to use #D22DCD in CSS?

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

What colors go well with #D22DCD?

#2DD232 (complementary), #852DD2 (analogous), and #931F8F (lighter shade) work well with #D22DCD.