Skip to content

#ffaafe

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

RGB
255, 170, 254
HSL
301°, 100%, 83%
CMYK
0, 33, 0, 0
Luminance
0.5717

Every format

HEX#ffaafe
RGBrgb(255, 170, 254)
HSLhsl(301, 100%, 83%)
CMYKcmyk(0%, 33%, 0%, 0%)
LABlab(80.3 44.0 -29.0)
LCHlch(80.3 52.7 326.6)
OKLCHoklch(0.848 0.145 327.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green66.7%
Blue99.6%

CMYK percentages

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

Color previews

#ffaafe text on a black background

contrast 12.43:1

Card sample

#ffaafe text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaafe in the Color Lab