Skip to content

#ae2dc2

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

RGB
174, 45, 194
HSL
292°, 62%, 47%
CMYK
10, 77, 0, 24
Luminance
0.1477

Every format

HEX#ae2dc2
RGBrgb(174, 45, 194)
HSLhsl(292, 62%, 47%)
CMYKcmyk(10%, 77%, 0%, 24%)
LABlab(45.3 68.9 -51.0)
LCHlch(45.3 85.7 323.5)
OKLCHoklch(0.559 0.231 321.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2dc2 on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#ae2dc2 on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.6%
Blue76.1%

CMYK percentages

Cyan10.3%
Magenta76.8%
Yellow0.0%
Key (black)23.9%

Color previews

#ae2dc2 text on a black background

contrast 3.95:1

Card sample

#ae2dc2 text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2dc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2dc2 in the Color Lab