Skip to content

#ae2ab4

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

RGB
174, 42, 180
HSL
297°, 62%, 44%
CMYK
3, 77, 0, 29
Luminance
0.1395

Every format

HEX#ae2ab4
RGBrgb(174, 42, 180)
HSLhsl(297, 62%, 44%)
CMYKcmyk(3%, 77%, 0%, 29%)
LABlab(44.2 67.4 -44.6)
LCHlch(44.2 80.8 326.5)
OKLCHoklch(0.548 0.223 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2ab4 on white: 5.54:1
AA ✓ pass · AA-large · AAA
Aa
#ae2ab4 on black: 3.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green16.5%
Blue70.6%

CMYK percentages

Cyan3.3%
Magenta76.7%
Yellow0.0%
Key (black)29.4%

Color previews

#ae2ab4 text on a black background

contrast 3.79:1

Card sample

#ae2ab4 text on a white background

contrast 5.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2ab4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2ab4 in the Color Lab