Skip to content

#ffe2fc

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

RGB
255, 226, 252
HSL
306°, 100%, 94%
CMYK
0, 11, 1, 0
Luminance
0.8268

Every format

HEX#ffe2fc
RGBrgb(255, 226, 252)
HSLhsl(306, 100%, 94%)
CMYKcmyk(0%, 11%, 1%, 0%)
LABlab(92.9 14.3 -8.9)
LCHlch(92.9 16.9 328.0)
OKLCHoklch(0.944 0.046 329.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe2fc on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ffe2fc on black: 17.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green88.6%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow1.2%
Key (black)0.0%

Color previews

#ffe2fc text on a black background

contrast 17.54:1

Card sample

#ffe2fc text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe2fc in the Color Lab