Maroon Colors  ·  Color Library

Palettes / Colors / #CA12E2

#CA12E2 — Vivid Pink

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

#CA12E2 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 #2BE212; it also sits naturally between #6212E2 and #E21293. In the palettes below you can see it working alongside real color combinations from our collection.

#CA12E2 · RGB 202, 18, 226

Download PNG swatch SVG

Color values

HEX#CA12E2
RGB202, 18, 226
HSL293°, 85%, 48%
HSV293°, 92%, 89%
CMYK11%, 92%, 0%, 11%
XYZ38.30, 18.48, 73.50
Yxy18.48, 0.2940, 0.1418
CIE-Lab50.07, 84.51, -61.52
Hunter Lab42.99, 87.47, -76.45

RGB & CMYK percentages

Red 79% · Green 7% · Blue 89%

Cyan 11% · Magenta 92% · Yellow 0% · Key 11%

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

Previews

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

CSS code for #CA12E2

.text { color: #CA12E2; }
.background { background-color: #CA12E2; }
.border { border: 3px solid #CA12E2; }
.text-rgb { color: rgb(202, 18, 226); }
.text-hsl { color: hsl(293, 85%, 48%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CA12E2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(202, 18, 226, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CA12E2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(202, 18, 226, 0.8); }

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

Shades of #CA12E2

#B911D0#A40FB8#930DA5#7E0B8E#6E0A7B#5D0868#480750#37053D#220326#110213

Tints of #CA12E2

#D521ED#DA39EF#DD4CF0#E263F2#E67BF4#EB92F6#EFAAF8#F3BDFA#F7D5FC#FBECFD

Tones of #CA12E2

#BF21D4#B430C5#A83EB6#9C4EA6#915D98#866C89

Color harmonies

Complementary — #2BE212:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.47:1 AA large only
Against black text4.70:1 AA

Best text color on #CA12E2: #000000.

Semi-transparent (opacity) text on #CA12E2

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

How #CA12E2 looks with color blindness

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

Protanopia · #7A79B0Deuteranopia · #8593A4Tritanopia · #C1887F

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 · #D946EFTailwind purple 600 · #9333EA

Palettes with a similar color

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

Hidden Marble
#26C616 · #67EA49 · #D01AE2 · #EEA1ED
Silent Aurora
#0F25B4 · #733ADD · #C424E6 · #E958BE
Crystal Lagoon
#5BE0E2 · #1D67E4 · #3917A7 · #C725E5
Misty Ruby Marble
#7238E6 · #DC17EC · #E83089 · #EE5240
Dreamy Bloom
#3A1A95 · #B81FDA · #D7158D · #B3161F
Tranquil Twilight
#25090E · #D7FE3D · #C313FA · #5384F9

Similar colors

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

#D01AE2#C424E6#C725E5#DC17EC#B81FDA#C313FA#BF27EB#C917C9#C72CE6#B715CE#B927D8#D22EDE

Browse neighbouring colors

← #CA12E1  ·  #CA12E3 →

Frequently asked questions

What color is #CA12E2?

#CA12E2 is Vivid Pink, a pink color (RGB 202, 18, 226). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #CA12E2?

#CA12E2 is RGB 202, 18, 226 — HSL 293°, 85%, 48% — CMYK 11%, 92%, 0%, 11%.

What colors go with #CA12E2?

Its complement is #2BE212; analogous partners are #6212E2 and #E21293. It also appears in 6+ palettes in our collection.

Can I use #CA12E2 for text?

Black text on #CA12E2 has a contrast ratio of 4.70:1 (passes WCAG AA); white text gives 4.47:1.