Maroon Colors  ·  Color Library

Palettes / Colors / #AF2ABC

#AF2ABC — Pink

#AF2ABC is a pink color we call Pink, closest to the named color DarkOrchid (#9932CC). It belongs to the pink family.

Color name

Closest CSS keyword: darkorchid (#9932CC) — not an exact match. CSS darkorchid gives you #9932CC, a different color; use #AF2ABC 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.

#AF2ABC 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 #37BB2A; it also sits naturally between #672ABB and #BB2A7F. In the palettes below you can see it working alongside real color combinations from our collection.

#AF2ABC · RGB 175, 42, 188

Download PNG swatch SVG

Color values

HEX#AF2ABC
RGB175, 42, 188
HSL295°, 63%, 45%
HSV295°, 78%, 74%
CMYK7%, 78%, 0%, 26%
XYZ27.58, 14.40, 48.90
Yxy14.40, 0.3035, 0.1584
CIE-Lab44.80, 68.96, -48.33
Hunter Lab37.95, 66.41, -53.90

RGB & CMYK percentages

Red 69% · Green 16% · Blue 74%

Cyan 7% · Magenta 78% · Yellow 0% · Key 26%

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

Previews

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

CSS code for #AF2ABC

.text { color: #AF2ABC; }
.background { background-color: #AF2ABC; }
.border { border: 3px solid #AF2ABC; }
.text-rgb { color: rgb(175, 42, 188); }
.text-hsl { color: hsl(295, 63%, 45%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF2ABC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 42, 188, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF2ABC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 42, 188, 0.8); }

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

Shades of #AF2ABC

#9F27AA#90239A#801F89#711B79#611868#4E1353#3E0F43#2F0B32#1F0821#100411

Tints of #AF2ABC

#C22FD0#C844D5#CF59D9#D56EDE#DC86E4#E29BE8#E8B0ED#EEC5F2#F4DAF7#FAEEFB

Tones of #AF2ABC

#A635B1#9E3FA6#95499C#8D5492#845E87#7B687D

Color harmonies

Complementary — #37BB2A:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.41:1 AA
Against black text3.88:1 AA large only

Best text color on #AF2ABC: #FFFFFF.

Semi-transparent (opacity) text on #AF2ABC

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

How #AF2ABC looks with color blindness

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

Protanopia · #757499Deuteranopia · #7D8790Tritanopia · #A87D77

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:

Material Purple 500 · #9C27B0Tailwind fuchsia 600 · #C026D3Tailwind purple 600 · #9333EA

Palettes with a similar color

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

Radiant Ruby Aurora
#25B6AF · #B126B9 · #DBD44F · #B9E8E8
Serene Terrace
#AF29B6 · #851262 · #D22662 · #B6201F
Gentle Ruby Zephyr
#5526C5 · #A930C0 · #D63297 · #DA3C48
Honey Dusk
#934CC7 · #B82EB9 · #C54692 · #721F2E
Vintage Ruby Mosaic
#B121C2 · #BAAA20 · #27DAC7 · #E9B1E7
Cosmic Ruby Orchard
#EECCF5 · #BC44D5 · #A632BE · #912BA6

Similar colors

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

#B126B9#AF29B6#A930C0#B82EB9#B121C2#A632BE#A72FC4#A229BD#A52EB4#A825C7#BB28B4#BC27C3

Browse neighbouring colors

← #AF2ABB  ·  #AF2ABD →

Frequently asked questions

What color is #AF2ABC?

#AF2ABC is Pink, a pink color (RGB 175, 42, 188). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #AF2ABC?

#AF2ABC is RGB 175, 42, 188 — HSL 295°, 63%, 45% — CMYK 7%, 78%, 0%, 26%.

What colors go with #AF2ABC?

Its complement is #37BB2A; analogous partners are #672ABB and #BB2A7F. It also appears in 6+ palettes in our collection.

Can I use #AF2ABC for text?

White text on #AF2ABC has a contrast ratio of 5.41:1 (passes WCAG AA); black text gives 3.88:1.