Maroon Colors  ·  Color Library

Palettes / Colors / #AF04CD

#AF04CD — Vivid Pink

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

#AF04CD 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 #22CD04; it also sits naturally between #4A04CD and #CD0487. In the palettes below you can see it working alongside real color combinations from our collection.

#AF04CD · RGB 175, 4, 205

Download PNG swatch SVG

Color values

HEX#AF04CD
RGB175, 4, 205
HSL291°, 96%, 41%
HSV291°, 98%, 80%
CMYK15%, 98%, 0%, 20%
XYZ28.74, 13.61, 58.87
Yxy13.61, 0.2840, 0.1344
CIE-Lab43.67, 78.42, -60.06
Hunter Lab36.89, 77.70, -73.52

RGB & CMYK percentages

Red 69% · Green 2% · Blue 80%

Cyan 15% · Magenta 98% · Yellow 0% · Key 20%

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

Previews

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

CSS code for #AF04CD

.text { color: #AF04CD; }
.background { background-color: #AF04CD; }
.border { border: 3px solid #AF04CD; }
.text-rgb { color: rgb(175, 4, 205); }
.text-hsl { color: hsl(291, 96%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF04CD; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 4, 205, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF04CD; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 4, 205, 0.8); }

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

Shades of #AF04CD

#9E04B9#9103AA#800396#6F0382#620273#51025F#40024B#2F0137#220128#110014

Tints of #AF04CD

#C805EB#D70FFA#DC2DFB#E046FB#E564FC#E97DFC#EE9BFD#F2B4FD#F7D2FE#FCEBFF

Tones of #AF04CD

#A513BE#9B20B1#912FA2#873E93#7C4C85#735A77

Color harmonies

Complementary — #22CD04:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.64:1 AA
Against black text3.72:1 AA large only

Best text color on #AF04CD: #FFFFFF.

Semi-transparent (opacity) text on #AF04CD

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

How #AF04CD looks with color blindness

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

Protanopia · #65639CDeuteranopia · #6F7C91Tritanopia · #A6766E

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 #AF04CD rather than the exact color:

Vintage Horizon
#651EAF · #AF16CA · #C0259F · #D72772
Silent Ruby Aurora
#B715CE · #EA2FD4 · #4EEB37 · #C3F3B6
Rustic Ruby Dusk
#46AAE7 · #677CE9 · #9A75F1 · #A412D4
Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Misty Tempest
#B115B9 · #E551EB · #21D519 · #A3ED9B
Lucky Ruby Monsoon
#E5ABF2 · #D577E9 · #B11FD1 · #811B97

Similar colors

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

#AF16CA#B715CE#A412D4#A613C4#B115B9#B11FD1#B500B2#A011B8#B121C2#B81FDA#BF1FC6#C917C9

Browse neighbouring colors

← #AF04CC  ·  #AF04CE →

Frequently asked questions

What color is #AF04CD?

#AF04CD is Vivid Pink, a pink color (RGB 175, 4, 205). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #AF04CD?

#AF04CD is RGB 175, 4, 205 — HSL 291°, 96%, 41% — CMYK 15%, 98%, 0%, 20%.

What colors go with #AF04CD?

Its complement is #22CD04; analogous partners are #4A04CD and #CD0487. It also appears in 6+ palettes in our collection.

Can I use #AF04CD for text?

White text on #AF04CD has a contrast ratio of 5.64:1 (passes WCAG AA); black text gives 3.72:1.