Skip to content

#ac30af

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

RGB
172, 48, 175
HSL
299°, 57%, 44%
CMYK
2, 73, 0, 31
Luminance
0.1398

Every format

HEX#ac30af
RGBrgb(172, 48, 175)
HSLhsl(299, 57%, 44%)
CMYKcmyk(2%, 73%, 0%, 31%)
LABlab(44.2 64.3 -41.7)
LCHlch(44.2 76.6 327.0)
OKLCHoklch(0.547 0.212 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac30af on white: 5.53:1
AA ✓ pass · AA-large · AAA
Aa
#ac30af on black: 3.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green18.8%
Blue68.6%

CMYK percentages

Cyan1.7%
Magenta72.6%
Yellow0.0%
Key (black)31.4%

Color previews

#ac30af text on a black background

contrast 3.80:1

Card sample

#ac30af text on a white background

contrast 5.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac30af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac30af in the Color Lab