Skip to content

#f1afe2

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

RGB
241, 175, 226
HSL
314°, 70%, 82%
CMYK
0, 27, 6, 6
Luminance
0.5485

Every format

HEX#f1afe2
RGBrgb(241, 175, 226)
HSLhsl(314, 70%, 82%)
CMYKcmyk(0%, 27%, 6%, 6%)
LABlab(79.0 32.0 -16.1)
LCHlch(79.0 35.8 333.3)
OKLCHoklch(0.831 0.101 334.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.5%
Green68.6%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow6.2%
Key (black)5.5%

Color previews

#f1afe2 text on a black background

contrast 11.97:1

Card sample

#f1afe2 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1afe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1afe2 in the Color Lab