Maroon Colors  ·  Color Library

Palettes / Colors / #AF02CB

#AF02CB — Vivid Pink

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

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

#AF02CB · RGB 175, 2, 203

Download PNG swatch SVG

Color values

HEX#AF02CB
RGB175, 2, 203
HSL292°, 98%, 40%
HSV292°, 99%, 80%
CMYK14%, 99%, 0%, 20%
XYZ28.48, 13.47, 57.60
Yxy13.47, 0.2861, 0.1353
CIE-Lab43.46, 78.28, -59.23
Hunter Lab36.70, 77.47, -72.03

RGB & CMYK percentages

Red 69% · Green 1% · Blue 80%

Cyan 14% · Magenta 99% · Yellow 0% · Key 20%

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

Previews

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

CSS code for #AF02CB

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

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

Shades of #AF02CB

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

Tints of #AF02CB

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

Tones of #AF02CB

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

Color harmonies

Complementary — #1DCA02:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.69:1 AA
Against black text3.69:1 AA large only

Best text color on #AF02CB: #FFFFFF.

Semi-transparent (opacity) text on #AF02CB

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

How #AF02CB 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 · #6E7B8FTritanopia · #A6746C

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 #AF02CB 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#C917C9#BF1FC6

Browse neighbouring colors

← #AF02CA  ·  #AF02CC →

Frequently asked questions

What color is #AF02CB?

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

What is the RGB and HSL of #AF02CB?

#AF02CB is RGB 175, 2, 203 — HSL 292°, 98%, 40% — CMYK 14%, 99%, 0%, 20%.

What colors go with #AF02CB?

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

Can I use #AF02CB for text?

White text on #AF02CB has a contrast ratio of 5.69:1 (passes WCAG AA); black text gives 3.69:1.