Maroon Colors  ·  Color Library

Palettes / Colors / #A42FAC

#A42FAC — Pink

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

#A42FAC is a cool pink color associated with playfulness, romance and softness. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #37AC2F; it also sits naturally between #652FAC and #AC2F76. In the palettes below you can see it working alongside real color combinations from our collection.

#A42FAC · RGB 164, 47, 172

Download PNG swatch SVG

Color values

HEX#A42FAC
RGB164, 47, 172
HSL296°, 57%, 43%
HSV296°, 73%, 67%
CMYK5%, 73%, 0%, 33%
XYZ23.77, 12.90, 40.27
Yxy12.90, 0.3090, 0.1677
CIE-Lab42.62, 62.36, -42.49
Hunter Lab35.92, 58.09, -44.94

RGB & CMYK percentages

Red 64% · Green 18% · Blue 67%

Cyan 5% · Magenta 73% · Yellow 0% · Key 33%

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

Previews

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

CSS code for #A42FAC

.text { color: #A42FAC; }
.background { background-color: #A42FAC; }
.border { border: 3px solid #A42FAC; }
.text-rgb { color: rgb(164, 47, 172); }
.text-hsl { color: hsl(296, 57%, 43%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #A42FAC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(164, 47, 172, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #A42FAC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(164, 47, 172, 0.8); }

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

Shades of #A42FAC

#952B9C#85268C#76227C#671E6C#5B1A60#4C1650#3D1240#2E0D30#1E0920#0F0410

Tints of #A42FAC

#B735C0#C447CD#CA5BD2#D16FD8#D887DE#DF9BE4#E5AFE9#ECC3EF#F3DBF5#FAEFFB

Tones of #A42FAC

#9C38A3#95419B#8D4992#845388#7D5C7F#756576

Color harmonies

Complementary — #37AC2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.86:1 AA
Against black text3.58:1 AA large only

Best text color on #A42FAC: #FFFFFF.

Semi-transparent (opacity) text on #A42FAC

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

How #A42FAC looks with color blindness

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

Protanopia · #71708EDeuteranopia · #788187Tritanopia · #9E7671

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 · #C026D3Material Deep Purple 500 · #673AB7

Palettes with a similar color

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

Vintage Ruby Cinder
#54A7C2 · #5F74CB · #52299C · #A32FAE
Rustic Ruby Mosaic
#A22FAB · #DB7CD3 · #40C436 · #D1EBC8
Dusty Lagoon
#1E379C · #6A27D1 · #A829A9 · #881946
Rustic Ruby Zephyr
#A427AC · #D8D051 · #48D6CD · #DCB4E5
Cosmic Aurora
#A52EB4 · #DB64B4 · #87243A · #D27D63
Burning Mirage
#5A37D2 · #A02DB3 · #E16BA8 · #E08074

Similar colors

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

#A32FAE#A22FAB#A829A9#A427AC#A52EB4#A02DB3#9C2EAF#AC32A6#AA2CA4#A025AA#A432A1#A23AB2

Browse neighbouring colors

← #A42FAB  ·  #A42FAD →

Frequently asked questions

What color is #A42FAC?

#A42FAC is Pink, a pink color (RGB 164, 47, 172). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #A42FAC?

#A42FAC is RGB 164, 47, 172 — HSL 296°, 57%, 43% — CMYK 5%, 73%, 0%, 33%.

What colors go with #A42FAC?

Its complement is #37AC2F; analogous partners are #652FAC and #AC2F76. It also appears in 6+ palettes in our collection.

Can I use #A42FAC for text?

White text on #A42FAC has a contrast ratio of 5.86:1 (passes WCAG AA); black text gives 3.58:1.