#CC2EC1 Color Information

Hex color code: #CC2EC1

#CC2EC1 is a neutral magenta color. In RGB it is (204, 46, 193), and in HSL it is (304°, 63%, 49%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#CC2EC1
RGB
204, 46, 193
HSL
304°, 63%, 49%
CMYK
0%, 77%, 5%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC2EC1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 46, 193

Red: 204 / Green: 46 / Blue: 193

HSL

304°, 63%, 49%

Hue: 304° / Saturation: 63% / Lightness: 49%

CMYK

0%, 77%, 5%, 20%

Cyan: 0% / Magenta: 77% / Yellow: 5% / Key: 20%

What color is #CC2EC1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC2EC1 to RGB:

rgb(204, 46, 193)HEX to RGB Converter →

HEX to HSL

Convert #CC2EC1 to HSL:

hsl(304, 63%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #CC2EC1 to CMYK:

cmyk(0%, 77%, 5%, 20%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #CC2EC1 has RGB (204, 46, 193) and HSL (304°, 63%, 49%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC2EC1 is #2ECC39, creating high-contrast pairings. For softer combinations, try analogous colors like #872ECC.

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

Contrast with #CC2EC1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC2EC1?

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

What is the RGB value of #CC2EC1?

#CC2EC1 in RGB is (204, 46, 193) - 204 red, 46 green, and 193 blue.

How to use #CC2EC1 in CSS?

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

What colors go well with #CC2EC1?

#2ECC39 (complementary), #872ECC (analogous), and #8D2086 (lighter shade) work well with #CC2EC1.