Skip to content

#ae2fac

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

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

Every format

HEX#ae2fac
RGBrgb(174, 47, 172)
HSLhsl(301, 58%, 43%)
CMYKcmyk(0%, 73%, 1%, 32%)
LABlab(44.3 64.5 -39.8)
LCHlch(44.3 75.8 328.3)
OKLCHoklch(0.547 0.212 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2fac on white: 5.52:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fac on black: 3.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta73.0%
Yellow1.1%
Key (black)31.8%

Color previews

#ae2fac text on a black background

contrast 3.80:1

Card sample

#ae2fac text on a white background

contrast 5.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2fac in the Color Lab