Skip to content

#aa7eb0

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

RGB
170, 126, 176
HSL
293°, 24%, 59%
CMYK
3, 28, 0, 31
Luminance
0.2660

Every format

HEX#aa7eb0
RGBrgb(170, 126, 176)
HSLhsl(293, 24%, 59%)
CMYKcmyk(3%, 28%, 0%, 31%)
LABlab(58.6 25.8 -19.8)
LCHlch(58.6 32.5 322.5)
OKLCHoklch(0.653 0.088 322.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa7eb0 on white: 3.32:1
AA ✗ fail · AA-large · AAA
Aa
#aa7eb0 on black: 6.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green49.4%
Blue69.0%

CMYK percentages

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

Color previews

#aa7eb0 text on a black background

contrast 6.32:1

Card sample

#aa7eb0 text on a white background

contrast 3.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa7eb0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa7eb0 in the Color Lab