#CC2DD7 Color Information

Hex color code: #CC2DD7

The hex color #CC2DD7 is a balanced magenta with RGB values of (204, 45, 215) and HSL of (296°, 68%, 51%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#CC2DD7
RGB
204, 45, 215
HSL
296°, 68%, 51%
CMYK
5%, 79%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC2DD7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 45, 215

Red: 204 / Green: 45 / Blue: 215

HSL

296°, 68%, 51%

Hue: 296° / Saturation: 68% / Lightness: 51%

CMYK

5%, 79%, 0%, 16%

Cyan: 5% / Magenta: 79% / Yellow: 0% / Key: 16%

What color is #CC2DD7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC2DD7 to RGB:

rgb(204, 45, 215)HEX to RGB Converter →

HEX to HSL

Convert #CC2DD7 to HSL:

hsl(296, 68%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #CC2DD7 to CMYK:

cmyk(5%, 79%, 0%, 16%)Color Converter →

Color Meaning and Usage

#CC2DD7 is a neutral magenta color with RGB values of 204, 45, 215 and HSL of 296°, 68%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC2DD7 is #38D72D, creating high-contrast pairings. For softer combinations, try analogous colors like #772DD7.

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

Contrast with #CC2DD7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC2DD7?

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

What is the RGB value of #CC2DD7?

#CC2DD7 in RGB is (204, 45, 215) - 204 red, 45 green, and 215 blue.

How to use #CC2DD7 in CSS?

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

What colors go well with #CC2DD7?

#38D72D (complementary), #772DD7 (analogous), and #921D9A (lighter shade) work well with #CC2DD7.