#CC2EC4 Color Information

Hex color code: #CC2EC4

The hex color #CC2EC4 is a subtle magenta with RGB values of (204, 46, 196) and HSL of (303°, 63%, 49%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#CC2EC4
RGB
204, 46, 196
HSL
303°, 63%, 49%
CMYK
0%, 77%, 4%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC2EC4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 46, 196

Red: 204 / Green: 46 / Blue: 196

HSL

303°, 63%, 49%

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

CMYK

0%, 77%, 4%, 20%

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

What color is #CC2EC4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC2EC4 to RGB:

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

HEX to HSL

Convert #CC2EC4 to HSL:

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

HEX to CMYK

Convert #CC2EC4 to CMYK:

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

Color Meaning and Usage

A subtle magenta tone, #CC2EC4 has RGB (204, 46, 196) and HSL (303°, 63%, 49%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC2EC4 is #2ECC36, creating high-contrast pairings. For softer combinations, try analogous colors like #852ECC.

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

Contrast with #CC2EC4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC2EC4?

#CC2EC4 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CC2EC4?

#CC2EC4 in RGB is (204, 46, 196) - 204 red, 46 green, and 196 blue.

How to use #CC2EC4 in CSS?

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

What colors go well with #CC2EC4?

#2ECC36 (complementary), #852ECC (analogous), and #8D2088 (lighter shade) work well with #CC2EC4.