Skip to content

#aa66aa

a balanced, soft magenta / pink · warm · closest name: plum

RGB
170, 102, 170
HSL
300°, 29%, 53%
CMYK
0, 40, 0, 33
Luminance
0.2095

Every format

HEX#aa66aa
RGBrgb(170, 102, 170)
HSLhsl(300, 29%, 53%)
CMYKcmyk(0%, 40%, 0%, 33%)
LABlab(52.9 38.0 -25.1)
LCHlch(52.9 45.6 326.5)
OKLCHoklch(0.609 0.126 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa66aa on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#aa66aa on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green40.0%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta40.0%
Yellow0.0%
Key (black)33.3%

Color previews

#aa66aa text on a black background

contrast 5.19:1

Card sample

#aa66aa text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa66aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa66aa in the Color Lab