Maroon Colors  ·  Color Library

Palettes / Colors / #CC2EA2

#CC2EA2 — Pink

#CC2EA2 is a pink color we call Pink, closest to the named color MediumVioletRed (#C71585). It belongs to the pink family.

Color name

Closest CSS keyword: mediumvioletred (#C71585) — not an exact match. CSS mediumvioletred gives you #C71585, a different color; use #CC2EA2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#CC2EA2 is a warm-leaning pink color associated with playfulness, romance and softness. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #2ECC58; it also sits naturally between #A72ECC and #CC2E53. In the palettes below you can see it working alongside real color combinations from our collection.

#CC2EA2 · RGB 204, 46, 162

Download PNG swatch SVG

Color values

HEX#CC2EA2
RGB204, 46, 162
HSL316°, 63%, 49%
HSV316°, 77%, 80%
CMYK0%, 77%, 21%, 20%
XYZ32.40, 17.40, 35.83
Yxy17.40, 0.3784, 0.2032
CIE-Lab48.76, 70.14, -26.43
Hunter Lab41.71, 68.96, -24.93

RGB & CMYK percentages

Red 80% · Green 18% · Blue 64%

Cyan 0% · Magenta 77% · Yellow 21% · Key 20%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #CC2EA2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #CC2EA2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #CC2EA2

.text { color: #CC2EA2; }
.background { background-color: #CC2EA2; }
.border { border: 3px solid #CC2EA2; }
.text-rgb { color: rgb(204, 46, 162); }
.text-hsl { color: hsl(316, 63%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CC2EA2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 46, 162, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CC2EA2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 46, 162, 0.8); }

HTML: <p style="color:#CC2EA2">Text here</p> · <div style="background-color:#CC2EA2">Div content here</div>

Shades of #CC2EA2

#BB2A94#A62684#962277#811D66#701959#5B1549#4B113B#360C2B#25081E#11040D

Tints of #CC2EA2

#D440AC#D750B3#DC65BC#E17AC5#E68FCE#E99FD6#EEB4DF#F3C9E8#F7DAEF#FBEEF8

Tones of #CC2EA2

#C0399C#B54597#AA5092#9F5B8D#936687#887282

Color harmonies

Complementary — #2ECC58:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.69:1 AA
Against black text4.48:1 AA large only

Best text color on #CC2EA2: #FFFFFF.

Semi-transparent (opacity) text on #CC2EA2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #CC2EA2: ·

How #CC2EA2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #888686Deuteranopia · #919D7FTritanopia · #C4706B

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind pink 500 · #EC4899Tailwind pink 600 · #DB2777Material Purple 500 · #9C27B0

Palettes with a similar color

These palettes use a close neighbour of #CC2EA2 rather than the exact color:

Electric Ruby Meadow
#A025AA · #CF2D9F · #DD658D · #EDB1AE
Tranquil Petal
#CF2BA5 · #DA606F · #8D5822 · #BED32C
Radiant Dusk
#E28DCA · #D133A5 · #8D1B6D · #591747
Electric Twilight
#4D23DE · #420F55 · #C532A3 · #B12248
Electric Breeze
#73128D · #D127A3 · #7C132E · #DA4318
Amber Breeze
#86B224 · #50B0DB · #CD2A9A · #E5ECC4

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#CF2D9F#CF2BA5#D133A5#C532A3#D127A3#CD2A9A#D0299B#C5339B#C5389D#CD3B9F#D424A7#BE30A1

Browse neighbouring colors

← #CC2EA1  ·  #CC2EA3 →

Frequently asked questions

What color is #CC2EA2?

#CC2EA2 is Pink, a pink color (RGB 204, 46, 162). Its closest standard named color is MediumVioletRed.

What is the RGB and HSL of #CC2EA2?

#CC2EA2 is RGB 204, 46, 162 — HSL 316°, 63%, 49% — CMYK 0%, 77%, 21%, 20%.

What colors go with #CC2EA2?

Its complement is #2ECC58; analogous partners are #A72ECC and #CC2E53. It also appears in 6+ palettes in our collection.

Can I use #CC2EA2 for text?

White text on #CC2EA2 has a contrast ratio of 4.69:1 (passes WCAG AA); black text gives 4.48:1.