Palettes / Colors / #A31991
#A31991 — Pink
#A31991 is a pink color we call Pink, closest to the named color DarkMagenta (#8B008B). It belongs to the pink family.
Color name
Closest CSS keyword: darkmagenta (#8B008B) — not an exact match. CSS darkmagenta gives you #8B008B, a different color; use #A31991 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.
#A31991 is a warm-leaning 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 #19A32C; it also sits naturally between #7119A3 and #A3194C. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #A31991 |
|---|---|
| RGB | 163, 25, 145 |
| HSL | 308°, 73%, 37% |
| HSV | 308°, 85%, 64% |
| CMYK | 0%, 85%, 11%, 36% |
| XYZ | 20.56, 10.53, 27.74 |
| Yxy | 10.53, 0.3496, 0.1789 |
| CIE-Lab | 38.77, 64.08, -32.35 |
| Hunter Lab | 32.44, 59.01, -30.89 |
RGB & CMYK percentages
Red 64% · Green 10% · Blue 57%
Cyan 0% · Magenta 85% · Yellow 11% · Key 36%
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 #A31991
.text { color: #A31991; }
.background { background-color: #A31991; }
.border { border: 3px solid #A31991; }
.text-rgb { color: rgb(163, 25, 145); }
.text-hsl { color: hsl(308, 73%, 37%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #A31991; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(163, 25, 145, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #A31991; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(163, 25, 145, 0.8); }
HTML: <p style="color:#A31991">Text here</p> · <div style="background-color:#A31991">Div content here</div>
Shades of #A31991
Tints of #A31991
Tones of #A31991
Color harmonies
Complementary — #19A32C:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 6.76:1 AA |
|---|---|
| Against black text | 3.11:1 AA large only |
Best text color on #A31991: #FFFFFF.
Semi-transparent (opacity) text on #A31991
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 #A31991: ·
How #A31991 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 #A31991 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 #A31991?
#A31991 is Pink, a pink color (RGB 163, 25, 145). Its closest standard named color is DarkMagenta.
What is the RGB and HSL of #A31991?
#A31991 is RGB 163, 25, 145 — HSL 308°, 73%, 37% — CMYK 0%, 85%, 11%, 36%.
What colors go with #A31991?
Its complement is #19A32C; analogous partners are #7119A3 and #A3194C. It also appears in 6+ palettes in our collection.
Can I use #A31991 for text?
White text on #A31991 has a contrast ratio of 6.76:1 (passes WCAG AA); black text gives 3.11:1.