Maroon Colors  ·  Color Library

Palettes / Colors / #CC2E97

#CC2E97 — Pink

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

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

#CC2E97 · RGB 204, 46, 151

Download PNG swatch SVG

Color values

HEX#CC2E97
RGB204, 46, 151
HSL320°, 63%, 49%
HSV320°, 77%, 80%
CMYK0%, 77%, 26%, 20%
XYZ31.46, 17.03, 30.91
Yxy17.03, 0.3963, 0.2144
CIE-Lab48.29, 68.76, -20.59
Hunter Lab41.26, 67.16, -18.45

RGB & CMYK percentages

Red 80% · Green 18% · Blue 59%

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

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

Previews

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

CSS code for #CC2E97

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

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

Shades of #CC2E97

#BB2A8B#A6267B#96226F#811D60#701953#5B1544#4B1138#360C28#25081C#11040C

Tints of #CC2E97

#D440A2#D750AA#DC65B4#E17ABF#E68FC9#E99FD1#EEB4DB#F3C9E5#F7DAED#FBEEF7

Tones of #CC2E97

#C03993#B54590#AA508C#9F5B88#936684#887281

Color harmonies

Complementary — #2ECC63:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.77:1 AA
Against black text4.41:1 AA large only

Best text color on #CC2E97: #FFFFFF.

Semi-transparent (opacity) text on #CC2E97

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

How #CC2E97 looks with color blindness

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

Protanopia · #88867EDeuteranopia · #919D77Tritanopia · #C46A65

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 600 · #DB2777Tailwind pink 500 · #EC4899Material Purple 500 · #9C27B0

Palettes with a similar color

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

Amber Breeze
#86B224 · #50B0DB · #CD2A9A · #E5ECC4
Crystal Ruby Terrace
#1A833B · #7CE589 · #D0299B · #EBB6E2
Electric Ruby Meadow
#A025AA · #CF2D9F · #DD658D · #EDB1AE
Electric Meadow
#B936D9 · #CB3795 · #AB1E28 · #BB7734
Wild Ruby Harbor
#437ED6 · #5D47CF · #8A25B1 · #C5339B
Gentle Ruby Zephyr
#5526C5 · #A930C0 · #D63297 · #DA3C48

Similar colors

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

#CD2A9A#D0299B#CF2D9F#CB3795#C5339B#D63297#C02D97#D52593#C5389D#D82894#CF378D#D62B8E

Browse neighbouring colors

← #CC2E96  ·  #CC2E98 →

Frequently asked questions

What color is #CC2E97?

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

What is the RGB and HSL of #CC2E97?

#CC2E97 is RGB 204, 46, 151 — HSL 320°, 63%, 49% — CMYK 0%, 77%, 26%, 20%.

What colors go with #CC2E97?

Its complement is #2ECC63; analogous partners are #B12ECC and #CC2E48. It also appears in 6+ palettes in our collection.

Can I use #CC2E97 for text?

White text on #CC2E97 has a contrast ratio of 4.77:1 (passes WCAG AA); black text gives 4.41:1.