Skip to content

#ae2ac2

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

RGB
174, 42, 194
HSL
292°, 64%, 46%
CMYK
10, 78, 0, 24
Luminance
0.1455

Every format

HEX#ae2ac2
RGBrgb(174, 42, 194)
HSLhsl(292, 64%, 46%)
CMYKcmyk(10%, 78%, 0%, 24%)
LABlab(45.0 69.8 -51.5)
LCHlch(45.0 86.7 323.6)
OKLCHoklch(0.557 0.234 321.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2ac2 on white: 5.37:1
AA ✓ pass · AA-large · AAA
Aa
#ae2ac2 on black: 3.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green16.5%
Blue76.1%

CMYK percentages

Cyan10.3%
Magenta78.4%
Yellow0.0%
Key (black)23.9%

Color previews

#ae2ac2 text on a black background

contrast 3.91:1

Card sample

#ae2ac2 text on a white background

contrast 5.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(174, 42, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 42, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae2ac2;
background: linear-gradient(135deg, #ae2ac2, #C22A71);

Monochromatic scale

Palettes built from #ae2ac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2ac2 in the Color Lab