Skip to content

#ffaaff

a light, electric magenta / pink · warm · closest name: plum

RGB
255, 170, 255
HSL
300°, 100%, 83%
CMYK
0, 33, 0, 0
Luminance
0.5723

Every format

HEX#ffaaff
RGBrgb(255, 170, 255)
HSLhsl(300, 100%, 83%)
CMYKcmyk(0%, 33%, 0%, 0%)
LABlab(80.3 44.1 -29.5)
LCHlch(80.3 53.1 326.3)
OKLCHoklch(0.848 0.146 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaaff on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ffaaff on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green66.7%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta33.3%
Yellow0.0%
Key (black)0.0%

Color previews

#ffaaff text on a black background

contrast 12.45:1

Card sample

#ffaaff text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaaff in the Color Lab