Maroon Colors  ·  Color Library

Palettes / Colors / #AF02CA

#AF02CA — Vivid Pink

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

#AF02CA 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 #1DCA02; it also sits naturally between #4B02CA and #CA0281. In the palettes below you can see it working alongside real color combinations from our collection.

#AF02CA · RGB 175, 2, 202

Download PNG swatch SVG

Color values

HEX#AF02CA
RGB175, 2, 202
HSL292°, 98%, 40%
HSV292°, 99%, 79%
CMYK13%, 99%, 0%, 21%
XYZ28.36, 13.42, 56.97
Yxy13.42, 0.2872, 0.1359
CIE-Lab43.39, 78.12, -58.76
Hunter Lab36.64, 77.24, -71.19

RGB & CMYK percentages

Red 69% · Green 1% · Blue 79%

Cyan 13% · Magenta 99% · Yellow 0% · Key 21%

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

Previews

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

CSS code for #AF02CA

.text { color: #AF02CA; }
.background { background-color: #AF02CA; }
.border { border: 3px solid #AF02CA; }
.text-rgb { color: rgb(175, 2, 202); }
.text-hsl { color: hsl(292, 98%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF02CA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 2, 202, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF02CA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 2, 202, 0.8); }

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

Shades of #AF02CA

#9E02B6#9102A7#7F0192#720183#60016F#4F015B#42014C#300138#230028#120014

Tints of #AF02CA

#CA02E8#DC08FD#E026FD#E43FFD#E85DFD#EC7CFE#F095FE#F4B3FE#F8CDFE#FCEBFF

Tones of #AF02CA

#A510BC#9A1FAD#902D9F#853B91#7B4983#705874

Color harmonies

Complementary — #1DCA02:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.70:1 AA
Against black text3.68:1 AA large only

Best text color on #AF02CA: #FFFFFF.

Semi-transparent (opacity) text on #AF02CA

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

How #AF02CA looks with color blindness

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

Protanopia · #64639ADeuteranopia · #6E7B8ETritanopia · #A6736B

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

Palettes with a similar color

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

Vintage Horizon
#651EAF · #AF16CA · #C0259F · #D72772
Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Silent Ruby Aurora
#B715CE · #EA2FD4 · #4EEB37 · #C3F3B6
Rustic Ruby Dusk
#46AAE7 · #677CE9 · #9A75F1 · #A412D4
Palette 8100d1
#8100D1 · #B500B2 · #FF52A0 · #FFA47F
Misty Tempest
#B115B9 · #E551EB · #21D519 · #A3ED9B

Similar colors

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

#AF16CA#A613C4#B715CE#A412D4#B500B2#B115B9#A011B8#B11FD1#B121C2#AF05AA#BD1EBF#AB03A9

Browse neighbouring colors

← #AF02C9  ·  #AF02CB →

Frequently asked questions

What color is #AF02CA?

#AF02CA is Vivid Pink, a pink color (RGB 175, 2, 202). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #AF02CA?

#AF02CA is RGB 175, 2, 202 — HSL 292°, 98%, 40% — CMYK 13%, 99%, 0%, 21%.

What colors go with #AF02CA?

Its complement is #1DCA02; analogous partners are #4B02CA and #CA0281. It also appears in 6+ palettes in our collection.

Can I use #AF02CA for text?

White text on #AF02CA has a contrast ratio of 5.70:1 (passes WCAG AA); black text gives 3.68:1.