Skip to content

#f4afd8

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

RGB
244, 175, 216
HSL
324°, 76%, 82%
CMYK
0, 28, 12, 4
Luminance
0.5485

Every format

HEX#f4afd8
RGBrgb(244, 175, 216)
HSLhsl(324, 76%, 82%)
CMYKcmyk(0%, 28%, 12%, 4%)
LABlab(79.0 31.3 -10.6)
LCHlch(79.0 33.0 341.3)
OKLCHoklch(0.831 0.096 343.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green68.6%
Blue84.7%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow11.5%
Key (black)4.3%

Color previews

#f4afd8 text on a black background

contrast 11.97:1

Card sample

#f4afd8 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4afd8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4afd8 in the Color Lab