Skip to content

#ac32ba

a balanced, vivid magenta / pink · warm · closest name: purple

RGB
172, 50, 186
HSL
294°, 58%, 46%
CMYK
8, 73, 0, 27
Luminance
0.1460

Every format

HEX#ac32ba
RGBrgb(172, 50, 186)
HSLhsl(294, 58%, 46%)
CMYKcmyk(8%, 73%, 0%, 27%)
LABlab(45.1 65.5 -46.7)
LCHlch(45.1 80.4 324.5)
OKLCHoklch(0.555 0.219 323.4)

Copy-ready code

/* CSS */
color: #ac32ba;
background-color: #ac32ba;
/* Tailwind (arbitrary) */
class="text-[#ac32ba] bg-[#ac32ba]"
/* SCSS */
$brand: #ac32ba;
/* SwiftUI */
Color(red: 0.675, green: 0.196, blue: 0.729)
/* Android */
Color.parseColor("#ac32ba")

Accessibility — WCAG contrast

Aa
#ac32ba on white: 5.36:1
AA ✓ pass · AA-large · AAA
Aa
#ac32ba on black: 3.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green19.6%
Blue72.9%

CMYK percentages

Cyan7.5%
Magenta73.1%
Yellow0.0%
Key (black)27.1%

Color previews

#ac32ba text on a black background

contrast 3.92:1

Card sample

#ac32ba text on a white background

contrast 5.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ac32ba;
Background color
Panel with #ac32ba background
background-color: #ac32ba;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ac32ba;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(172, 50, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 50, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac32ba;
background: linear-gradient(135deg, #ac32ba, #BA326D);

Monochromatic scale

Palettes built from #ac32ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac32ba in the Color Lab