Skip to content

#f4afdf

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

RGB
244, 175, 223
HSL
318°, 76%, 82%
CMYK
0, 28, 9, 4
Luminance
0.5522

Every format

HEX#f4afdf
RGBrgb(244, 175, 223)
HSLhsl(318, 76%, 82%)
CMYKcmyk(0%, 28%, 9%, 4%)
LABlab(79.2 32.5 -14.1)
LCHlch(79.2 35.4 336.5)
OKLCHoklch(0.833 0.101 338.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4afdf on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#f4afdf on black: 12.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green68.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow8.6%
Key (black)4.3%

Color previews

#f4afdf text on a black background

contrast 12.04:1

Card sample

#f4afdf text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4afdf in the Color Lab