Skip to content

#f1afd9

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

RGB
241, 175, 217
HSL
322°, 70%, 82%
CMYK
0, 27, 10, 6
Luminance
0.5437

Every format

HEX#f1afd9
RGBrgb(241, 175, 217)
HSLhsl(322, 70%, 82%)
CMYKcmyk(0%, 27%, 10%, 6%)
LABlab(78.7 30.4 -11.6)
LCHlch(78.7 32.6 339.1)
OKLCHoklch(0.828 0.094 340.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1afd9 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#f1afd9 on black: 11.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green68.6%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow10.0%
Key (black)5.5%

Color previews

#f1afd9 text on a black background

contrast 11.87:1

Card sample

#f1afd9 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1afd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1afd9 in the Color Lab