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.
Color values
| HEX | #A42FAC |
|---|---|
| RGB | 164, 47, 172 |
| HSL | 296°, 57%, 43% |
| HSV | 296°, 73%, 67% |
| CMYK | 5%, 73%, 0%, 33% |
| XYZ | 23.77, 12.90, 40.27 |
| Yxy | 12.90, 0.3090, 0.1677 |
| CIE-Lab | 42.62, 62.36, -42.49 |
| Hunter Lab | 35.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
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
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
Tints of #A42FAC
Tones of #A42FAC
Color harmonies
Complementary — #37AC2F:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 5.86:1 AA |
|---|---|
| Against black text | 3.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:
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:
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:
Palettes with a similar color
These palettes use a close neighbour of #A42FAC rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
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.