Maroon Colors  ·  Color Library

Palettes / Colors / #AC28AF

#AC28AF — Pink

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

#AC28AF 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 #2AAF28; it also sits naturally between #6928AF and #AF286D. In the palettes below you can see it working alongside real color combinations from our collection.

#AC28AF · RGB 172, 40, 175

Download PNG swatch SVG

Color values

HEX#AC28AF
RGB172, 40, 175
HSL299°, 63%, 42%
HSV299°, 77%, 69%
CMYK2%, 77%, 0%, 31%
XYZ25.51, 13.38, 41.80
Yxy13.38, 0.3161, 0.1659
CIE-Lab43.34, 66.77, -43.05
Hunter Lab36.58, 63.39, -45.82

RGB & CMYK percentages

Red 67% · Green 16% · Blue 69%

Cyan 2% · Magenta 77% · Yellow 0% · Key 31%

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

Previews

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

CSS code for #AC28AF

.text { color: #AC28AF; }
.background { background-color: #AC28AF; }
.border { border: 3px solid #AC28AF; }
.text-rgb { color: rgb(172, 40, 175); }
.text-hsl { color: hsl(299, 63%, 42%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AC28AF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(172, 40, 175, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AC28AF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(172, 40, 175, 0.8); }

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

Shades of #AC28AF

#9C249E#8C208D#7F1D81#6F1970#5E1660#4E124F#3E0E3E#310B32#210821#100411

Tints of #AC28AF

#C12CC3#D03CD3#D550D7#DB69DD#E07EE2#E593E6#EBACEC#F0C1F1#F6DAF7#FBEEFB

Tones of #AC28AF

#A331A5#9A3B9B#904592#874E88#7E587E#746175

Color harmonies

Complementary — #2AAF28:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #AC28AF: #FFFFFF.

Semi-transparent (opacity) text on #AC28AF

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

How #AC28AF looks with color blindness

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

Protanopia · #73728EDeuteranopia · #7B8487Tritanopia · #A5756F

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

Dusty Lagoon
#1E379C · #6A27D1 · #A829A9 · #881946
Modern Ruby Aurora
#AA21AD · #E1217C · #AD1F14 · #DA9526
Serene Terrace
#AF29B6 · #851262 · #D22662 · #B6201F
Rustic Ruby Zephyr
#A427AC · #D8D051 · #48D6CD · #DCB4E5
Cosmic Aurora
#A52EB4 · #DB64B4 · #87243A · #D27D63
Radiant Ruby Aurora
#25B6AF · #B126B9 · #DBD44F · #B9E8E8

Similar colors

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

#A829A9#AA21AD#AF29B6#A427AC#A52EB4#B126B9#A32FAE#AA2CA4#AA1EA8#A22FAB#A025AA#AC32A6

Browse neighbouring colors

← #AC28AE  ·  #AC28B0 →

Frequently asked questions

What color is #AC28AF?

#AC28AF is Pink, a pink color (RGB 172, 40, 175). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #AC28AF?

#AC28AF is RGB 172, 40, 175 — HSL 299°, 63%, 42% — CMYK 2%, 77%, 0%, 31%.

What colors go with #AC28AF?

Its complement is #2AAF28; analogous partners are #6928AF and #AF286D. It also appears in 6+ palettes in our collection.

Can I use #AC28AF for text?

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