Maroon Colors  ·  Color Library

Palettes / Colors / #CC2EA7

#CC2EA7 — Pink

#CC2EA7 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 #CC2EA7 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.

#CC2EA7 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 #2ECC53; it also sits naturally between #A22ECC and #CC2E58. In the palettes below you can see it working alongside real color combinations from our collection.

#CC2EA7 · RGB 204, 46, 167

Download PNG swatch SVG

Color values

HEX#CC2EA7
RGB204, 46, 167
HSL314°, 63%, 49%
HSV314°, 77%, 80%
CMYK0%, 77%, 18%, 20%
XYZ32.85, 17.58, 38.22
Yxy17.58, 0.3706, 0.1983
CIE-Lab48.98, 70.80, -29.04
Hunter Lab41.93, 69.82, -28.01

RGB & CMYK percentages

Red 80% · Green 18% · Blue 65%

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

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

Previews

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

CSS code for #CC2EA7

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

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

Shades of #CC2EA7

#BB2A99#A62688#96227B#811D6A#70195C#5B154B#4B113D#360C2C#25081F#11040E

Tints of #CC2EA7

#D440B1#D750B8#DC65C0#E17AC9#E68FD1#E99FD8#EEB4E1#F3C9E9#F7DAF0#FBEEF8

Tones of #CC2EA7

#C039A1#B5459B#AA5095#9F5B8F#936689#887283

Color harmonies

Complementary — #2ECC53:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.65:1 AA
Against black text4.52:1 AA

Best text color on #CC2EA7: #FFFFFF.

Semi-transparent (opacity) text on #CC2EA7

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 #CC2EA7: ·

How #CC2EA7 looks with color blindness

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

Protanopia · #88868ADeuteranopia · #919D83Tritanopia · #C4736E

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 fuchsia 600 · #C026D3Material Purple 500 · #9C27B0

Palettes with a similar color

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

Tranquil Petal
#CF2BA5 · #DA606F · #8D5822 · #BED32C
Radiant Dusk
#E28DCA · #D133A5 · #8D1B6D · #591747
Electric Ruby Meadow
#A025AA · #CF2D9F · #DD658D · #EDB1AE
Electric Twilight
#4D23DE · #420F55 · #C532A3 · #B12248
Electric Breeze
#73128D · #D127A3 · #7C132E · #DA4318
Palette 070739
#070739 · #521477 · #C327AB · #E1E099

Similar colors

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

#CF2BA5#D133A5#CF2D9F#C532A3#D127A3#C327AB#D424A7#D432B1#D0299B#CD2A9A#C5339B#CD3B9F

Browse neighbouring colors

← #CC2EA6  ·  #CC2EA8 →

Frequently asked questions

What color is #CC2EA7?

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

What is the RGB and HSL of #CC2EA7?

#CC2EA7 is RGB 204, 46, 167 — HSL 314°, 63%, 49% — CMYK 0%, 77%, 18%, 20%.

What colors go with #CC2EA7?

Its complement is #2ECC53; analogous partners are #A22ECC and #CC2E58. It also appears in 6+ palettes in our collection.

Can I use #CC2EA7 for text?

White text on #CC2EA7 has a contrast ratio of 4.65:1 (passes WCAG AA); black text gives 4.52:1.