Skip to content

#f1afdc

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

RGB
241, 175, 220
HSL
319°, 70%, 82%
CMYK
0, 27, 9, 6
Luminance
0.5453

Every format

HEX#f1afdc
RGBrgb(241, 175, 220)
HSLhsl(319, 70%, 82%)
CMYKcmyk(0%, 27%, 9%, 6%)
LABlab(78.8 30.9 -13.1)
LCHlch(78.8 33.6 337.1)
OKLCHoklch(0.829 0.096 338.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1afdc on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#f1afdc on black: 11.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green68.6%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow8.7%
Key (black)5.5%

Color previews

#f1afdc text on a black background

contrast 11.91:1

Card sample

#f1afdc text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1afdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1afdc in the Color Lab