Skip to content

#f4aafd

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

RGB
244, 170, 253
HSL
294°, 95%, 83%
CMYK
4, 33, 0, 1
Luminance
0.5507

Every format

HEX#f4aafd
RGBrgb(244, 170, 253)
HSLhsl(294, 95%, 83%)
CMYKcmyk(4%, 33%, 0%, 1%)
LABlab(79.1 40.4 -30.4)
LCHlch(79.1 50.6 323.1)
OKLCHoklch(0.836 0.137 322.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4aafd on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#f4aafd on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green66.7%
Blue99.2%

CMYK percentages

Cyan3.6%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#f4aafd text on a black background

contrast 12.01:1

Card sample

#f4aafd text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4aafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4aafd in the Color Lab