Maroon Colors  ·  Color Library

Palettes / Colors / #CC02DC

#CC02DC — Vivid Pink

#CC02DC is a pink color we call Vivid Pink, closest to the named color DarkViolet (#9400D3). It belongs to the pink family.

Color name

Closest CSS keyword: darkviolet (#9400D3) — not an exact match. CSS darkviolet gives you #9400D3, a different color; use #CC02DC 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.

#CC02DC is a cool 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 #11DE02; it also sits naturally between #6202DE and #DE027F. In the palettes below you can see it working alongside real color combinations from our collection.

#CC02DC · RGB 204, 2, 220

Download PNG swatch SVG

Color values

HEX#CC02DC
RGB204, 2, 220
HSL296°, 98%, 44%
HSV296°, 99%, 86%
CMYK7%, 99%, 0%, 14%
XYZ37.84, 18.05, 69.20
Yxy18.05, 0.3025, 0.1443
CIE-Lab49.55, 85.27, -58.93
Hunter Lab42.48, 88.30, -71.81

RGB & CMYK percentages

Red 80% · Green 1% · Blue 86%

Cyan 7% · Magenta 99% · Yellow 0% · Key 14%

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

Previews

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

CSS code for #CC02DC

.text { color: #CC02DC; }
.background { background-color: #CC02DC; }
.border { border: 3px solid #CC02DC; }
.text-rgb { color: rgb(204, 2, 220); }
.text-hsl { color: hsl(296, 98%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CC02DC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 2, 220, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CC02DC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 2, 220, 0.8); }

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

Shades of #CC02DC

#BD02CA#AA02B6#9702A2#84018D#710179#5E0165#4B0151#39013D#260028#130014

Tints of #CC02DC

#E702F7#ED17FD#F035FD#F24EFD#F368FD#F581FE#F79AFE#FAB8FE#FCD2FF#FDEBFF

Tones of #CC02DC

#C212CE#B422BF#A731AF#99419F#8B5190#7E6080

Color harmonies

Complementary — #11DE02:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.56:1 AA
Against black text4.61:1 AA

Best text color on #CC02DC: #000000.

Semi-transparent (opacity) text on #CC02DC

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

How #CC02DC looks with color blindness

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

Protanopia · #7573A7Deuteranopia · #808F9BTritanopia · #C27E74

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

Palettes with a similar color

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

Hidden Marble
#26C616 · #67EA49 · #D01AE2 · #EEA1ED
Crimson Dusk
#C917C9 · #EA42D9 · #1AE019 · #C8F5CA
Dusty Bloom
#431997 · #4D0968 · #E311CF · #E41A83
Misty Ruby Marble
#7238E6 · #DC17EC · #E83089 · #EE5240
Silent Ruby Aurora
#B715CE · #EA2FD4 · #4EEB37 · #C3F3B6
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE

Similar colors

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

#D01AE2#C917C9#E311CF#DC17EC#B715CE#CA1DC6#B81FDA#C313FA#C424E6#C725E5#E21ACB#DC20CE

Browse neighbouring colors

← #CC02DB  ·  #CC02DD →

Frequently asked questions

What color is #CC02DC?

#CC02DC is Vivid Pink, a pink color (RGB 204, 2, 220). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #CC02DC?

#CC02DC is RGB 204, 2, 220 — HSL 296°, 98%, 44% — CMYK 7%, 99%, 0%, 14%.

What colors go with #CC02DC?

Its complement is #11DE02; analogous partners are #6202DE and #DE027F. It also appears in 6+ palettes in our collection.

Can I use #CC02DC for text?

Black text on #CC02DC has a contrast ratio of 4.61:1 (passes WCAG AA); white text gives 4.56:1.