Skip to content

#ae2eb9

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

RGB
174, 46, 185
HSL
295°, 60%, 45%
CMYK
6, 75, 0, 28
Luminance
0.1446

Every format

HEX#ae2eb9
RGBrgb(174, 46, 185)
HSLhsl(295, 60%, 45%)
CMYKcmyk(6%, 75%, 0%, 28%)
LABlab(44.9 67.0 -46.5)
LCHlch(44.9 81.5 325.3)
OKLCHoklch(0.554 0.223 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.2%
Green18.0%
Blue72.5%

CMYK percentages

Cyan5.9%
Magenta75.1%
Yellow0.0%
Key (black)27.5%

Color previews

#ae2eb9 text on a black background

contrast 3.89:1

Card sample

#ae2eb9 text on a white background

contrast 5.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2eb9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2eb9 in the Color Lab