Skip to content

#ae2ac0

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

RGB
174, 42, 192
HSL
293°, 64%, 46%
CMYK
9, 78, 0, 25
Luminance
0.1446

Every format

HEX#ae2ac0
RGBrgb(174, 42, 192)
HSLhsl(293, 64%, 46%)
CMYKcmyk(9%, 78%, 0%, 25%)
LABlab(44.9 69.4 -50.5)
LCHlch(44.9 85.9 324.0)
OKLCHoklch(0.556 0.232 322.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2ac0 on white: 5.40:1
AA ✓ pass · AA-large · AAA
Aa
#ae2ac0 on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green16.5%
Blue75.3%

CMYK percentages

Cyan9.4%
Magenta78.1%
Yellow0.0%
Key (black)24.7%

Color previews

#ae2ac0 text on a black background

contrast 3.89:1

Card sample

#ae2ac0 text on a white background

contrast 5.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2ac0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2ac0 in the Color Lab