Maroon Colors  ·  Color Library

Palettes / Colors / #CC02CF

#CC02CF — Vivid Pink

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

#CC02CF 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 #06CF02; it also sits naturally between #6502CF and #CF026C. In the palettes below you can see it working alongside real color combinations from our collection.

#CC02CF · RGB 204, 2, 207

Download PNG swatch SVG

Color values

HEX#CC02CF
RGB204, 2, 207
HSL299°, 98%, 41%
HSV299°, 99%, 81%
CMYK1%, 99%, 0%, 19%
XYZ36.19, 17.39, 60.48
Yxy17.39, 0.3173, 0.1524
CIE-Lab48.74, 83.32, -52.78
Hunter Lab41.70, 85.51, -61.35

RGB & CMYK percentages

Red 80% · Green 1% · Blue 81%

Cyan 1% · Magenta 99% · Yellow 0% · Key 19%

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

Previews

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

CSS code for #CC02CF

.text { color: #CC02CF; }
.background { background-color: #CC02CF; }
.border { border: 3px solid #CC02CF; }
.text-rgb { color: rgb(204, 2, 207); }
.text-hsl { color: hsl(299, 98%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CC02CF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 2, 207, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CC02CF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 2, 207, 0.8); }

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

Shades of #CC02CF

#B802BB#A902AC#950297#810183#720174#5E0160#4A014C#370138#280028#140014

Tints of #CC02CF

#E902ED#F90DFD#F92BFD#FA44FD#FB62FD#FC7CFE#FC9AFE#FDB3FE#FED2FF#FEEBFF

Tones of #CC02CF

#BD11C0#AF1FB2#A12EA3#933D94#854B86#775A77

Color harmonies

Complementary — #06CF02:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #CC02CF: #FFFFFF.

Semi-transparent (opacity) text on #CC02CF

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

How #CC02CF looks with color blindness

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

Protanopia · #75739DDeuteranopia · #808F91Tritanopia · #C2766E

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 · #C026D3Material Purple 500 · #9C27B0Tailwind fuchsia 500 · #D946EF

Palettes with a similar color

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

Crimson Dusk
#C917C9 · #EA42D9 · #1AE019 · #C8F5CA
Dusty Bloom
#431997 · #4D0968 · #E311CF · #E41A83
Silent Ruby Aurora
#B715CE · #EA2FD4 · #4EEB37 · #C3F3B6
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE
Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
Hidden Marble
#26C616 · #67EA49 · #D01AE2 · #EEA1ED

Similar colors

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

#C917C9#E311CF#B715CE#CA1DC6#DE12BF#D01AE2#E21ACB#BF1FC6#CB1EBC#DC20CE#DC21D0#BD1EBF

Browse neighbouring colors

← #CC02CE  ·  #CC02D0 →

Frequently asked questions

What color is #CC02CF?

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

What is the RGB and HSL of #CC02CF?

#CC02CF is RGB 204, 2, 207 — HSL 299°, 98%, 41% — CMYK 1%, 99%, 0%, 19%.

What colors go with #CC02CF?

Its complement is #06CF02; analogous partners are #6502CF and #CF026C. It also appears in 6+ palettes in our collection.

Can I use #CC02CF for text?

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