#CC2EC6 Color Information

Hex color code: #CC2EC6

A neutral magenta shade, #CC2EC6 appears as (204, 46, 198) in RGB and (302°, 63%, 49%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#CC2EC6
RGB
204, 46, 198
HSL
302°, 63%, 49%
CMYK
0%, 77%, 3%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC2EC6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 46, 198

Red: 204 / Green: 46 / Blue: 198

HSL

302°, 63%, 49%

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

CMYK

0%, 77%, 3%, 20%

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

What color is #CC2EC6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC2EC6 to RGB:

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

HEX to HSL

Convert #CC2EC6 to HSL:

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

HEX to CMYK

Convert #CC2EC6 to CMYK:

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

Color Meaning and Usage

A subtle magenta tone, #CC2EC6 has RGB (204, 46, 198) and HSL (302°, 63%, 49%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC2EC6 is #2ECC33, creating high-contrast pairings. For softer combinations, try analogous colors like #822ECC.

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

Contrast with #CC2EC6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC2EC6?

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

What is the RGB value of #CC2EC6?

#CC2EC6 in RGB is (204, 46, 198) - 204 red, 46 green, and 198 blue.

How to use #CC2EC6 in CSS?

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

What colors go well with #CC2EC6?

#2ECC33 (complementary), #822ECC (analogous), and #8D208A (lighter shade) work well with #CC2EC6.