Skip to content

#fff2fe

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

RGB
255, 242, 254
HSL
305°, 100%, 98%
CMYK
0, 5, 0, 0
Luminance
0.9192

Every format

HEX#fff2fe
RGBrgb(255, 242, 254)
HSLhsl(305, 100%, 98%)
CMYKcmyk(0%, 5%, 0%, 0%)
LABlab(96.8 6.4 -4.2)
LCHlch(96.8 7.7 326.9)
OKLCHoklch(0.975 0.021 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff2fe on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fff2fe on black: 19.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.9%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow0.4%
Key (black)0.0%

Color previews

#fff2fe text on a black background

contrast 19.38:1

Card sample

#fff2fe text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2fe in the Color Lab