Palettes / Colors / #CD04CA
#CD04CA — Vivid Pink
#CD04CA 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 #CD04CA 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.
#CD04CA 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 #04CD08; it also sits naturally between #6C04CD and #CD0465. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #CD04CA |
|---|---|
| RGB | 205, 4, 202 |
| HSL | 301°, 96%, 41% |
| HSV | 301°, 98%, 80% |
| CMYK | 0%, 98%, 1%, 20% |
| XYZ | 35.88, 17.33, 57.33 |
| Yxy | 17.33, 0.3246, 0.1568 |
| CIE-Lab | 48.67, 82.60, -49.99 |
| Hunter Lab | 41.63, 84.55, -56.88 |
RGB & CMYK percentages
Red 80% · Green 2% · Blue 79%
Cyan 0% · Magenta 98% · Yellow 1% · Key 20%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #CD04CA
.text { color: #CD04CA; }
.background { background-color: #CD04CA; }
.border { border: 3px solid #CD04CA; }
.text-rgb { color: rgb(205, 4, 202); }
.text-hsl { color: hsl(301, 96%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CD04CA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 4, 202, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CD04CA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 4, 202, 0.8); }
HTML: <p style="color:#CD04CA">Text here</p> · <div style="background-color:#CD04CA">Div content here</div>
Shades of #CD04CA
Tints of #CD04CA
Tones of #CD04CA
Color harmonies
Complementary — #04CD08:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 4.70:1 AA |
|---|---|
| Against black text | 4.47:1 AA large only |
Best text color on #CD04CA: #FFFFFF.
Semi-transparent (opacity) text on #CD04CA
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:
Smaller body text shows the effect best.
Blended color: · Contrast against #CD04CA: ·
How #CD04CA looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
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:
Palettes with a similar color
These palettes use a close neighbour of #CD04CA rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #CD04CA?
#CD04CA is Vivid Pink, a pink color (RGB 205, 4, 202). Its closest standard named color is DarkViolet.
What is the RGB and HSL of #CD04CA?
#CD04CA is RGB 205, 4, 202 — HSL 301°, 96%, 41% — CMYK 0%, 98%, 1%, 20%.
What colors go with #CD04CA?
Its complement is #04CD08; analogous partners are #6C04CD and #CD0465. It also appears in 6+ palettes in our collection.
Can I use #CD04CA for text?
White text on #CD04CA has a contrast ratio of 4.70:1 (passes WCAG AA); black text gives 4.47:1.