#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.
Shades
color: #CC2EC4; background-color: #CC2EC4; border-color: #CC2EC4; box-shadow: 0 0 10px #CC2EC4; border: 2px solid #CC2EC4;
bg-[#CC2EC4] text-[#CC2EC4] border-[#CC2EC4] shadow-[0_0_10px_CC2EC4]
Generate Gradient
background: linear-gradient(90deg, #CC2EC4, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
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.
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
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.
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.