Skip to content

#ffe1f2

a pale, electric magenta / pink · warm · closest name: lavender

RGB
255, 225, 242
HSL
326°, 100%, 94%
CMYK
0, 12, 5, 0
Luminance
0.8152

Every format

HEX#ffe1f2
RGBrgb(255, 225, 242)
HSLhsl(326, 100%, 94%)
CMYKcmyk(0%, 12%, 5%, 0%)
LABlab(92.4 13.1 -4.5)
LCHlch(92.4 13.8 341.2)
OKLCHoklch(0.939 0.040 342.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe1f2 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ffe1f2 on black: 17.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green88.2%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta11.8%
Yellow5.1%
Key (black)0.0%

Color previews

#ffe1f2 text on a black background

contrast 17.30:1

Card sample

#ffe1f2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 225, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 225, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffe1f2;
background: linear-gradient(135deg, #ffe1f2, #FFE4E1);

Monochromatic scale

Palettes built from #ffe1f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe1f2 in the Color Lab