Skip to content

#aa2db0

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

RGB
170, 45, 176
HSL
297°, 59%, 43%
CMYK
3, 74, 0, 31
Luminance
0.1356

Every format

HEX#aa2db0
RGBrgb(170, 45, 176)
HSLhsl(297, 59%, 43%)
CMYKcmyk(3%, 74%, 0%, 31%)
LABlab(43.6 65.0 -43.2)
LCHlch(43.6 78.1 326.4)
OKLCHoklch(0.542 0.215 326.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa2db0 on white: 5.66:1
AA ✓ pass · AA-large · AAA
Aa
#aa2db0 on black: 3.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green17.6%
Blue69.0%

CMYK percentages

Cyan3.4%
Magenta74.4%
Yellow0.0%
Key (black)31.0%

Color previews

#aa2db0 text on a black background

contrast 3.71:1

Card sample

#aa2db0 text on a white background

contrast 5.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa2db0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa2db0 in the Color Lab