Palettes / Colors / #CA02AA
#CA02AA — Vivid Pink
#CA02AA is a pink color we call Vivid 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 #CA02AA 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.
#CA02AA 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 #02CA23; it also sits naturally between #8702CA and #CA0245. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #CA02AA |
|---|---|
| RGB | 202, 2, 170 |
| HSL | 310°, 98%, 40% |
| HSV | 310°, 99%, 79% |
| CMYK | 0%, 99%, 16%, 21% |
| XYZ | 31.63, 15.50, 39.36 |
| Yxy | 15.50, 0.3658, 0.1792 |
| CIE-Lab | 46.31, 77.91, -35.03 |
| Hunter Lab | 39.37, 77.84, -35.15 |
RGB & CMYK percentages
Red 79% · Green 1% · Blue 67%
Cyan 0% · Magenta 99% · Yellow 16% · Key 21%
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 #CA02AA
.text { color: #CA02AA; }
.background { background-color: #CA02AA; }
.border { border: 3px solid #CA02AA; }
.text-rgb { color: rgb(202, 2, 170); }
.text-hsl { color: hsl(310, 98%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CA02AA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(202, 2, 170, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CA02AA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(202, 2, 170, 0.8); }
HTML: <p style="color:#CA02AA">Text here</p> · <div style="background-color:#CA02AA">Div content here</div>
Shades of #CA02AA
Tints of #CA02AA
Tones of #CA02AA
Color harmonies
Complementary — #02CA23:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 5.12:1 AA |
|---|---|
| Against black text | 4.10:1 AA large only |
Best text color on #CA02AA: #FFFFFF.
Semi-transparent (opacity) text on #CA02AA
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 #CA02AA: ·
How #CA02AA 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 #CA02AA 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 #CA02AA?
#CA02AA is Vivid Pink, a pink color (RGB 202, 2, 170). Its closest standard named color is MediumVioletRed.
What is the RGB and HSL of #CA02AA?
#CA02AA is RGB 202, 2, 170 — HSL 310°, 98%, 40% — CMYK 0%, 99%, 16%, 21%.
What colors go with #CA02AA?
Its complement is #02CA23; analogous partners are #8702CA and #CA0245. It also appears in 6+ palettes in our collection.
Can I use #CA02AA for text?
White text on #CA02AA has a contrast ratio of 5.12:1 (passes WCAG AA); black text gives 4.10:1.