Skip to content

#ae2fad

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

RGB
174, 47, 173
HSL
301°, 58%, 43%
CMYK
0, 73, 1, 32
Luminance
0.1405

Every format

HEX#ae2fad
RGBrgb(174, 47, 173)
HSLhsl(301, 58%, 43%)
CMYKcmyk(0%, 73%, 1%, 32%)
LABlab(44.3 64.7 -40.3)
LCHlch(44.3 76.2 328.1)
OKLCHoklch(0.548 0.213 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2fad on white: 5.51:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fad on black: 3.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.4%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta73.0%
Yellow0.6%
Key (black)31.8%

Color previews

#ae2fad text on a black background

contrast 3.81:1

Card sample

#ae2fad text on a white background

contrast 5.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2fad in the Color Lab