Skip to content

#ffecfe

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

RGB
255, 236, 254
HSL
303°, 100%, 96%
CMYK
0, 8, 0, 0
Luminance
0.8841

Every format

HEX#ffecfe
RGBrgb(255, 236, 254)
HSLhsl(303, 100%, 96%)
CMYKcmyk(0%, 8%, 0%, 0%)
LABlab(95.3 9.5 -6.3)
LCHlch(95.3 11.4 326.3)
OKLCHoklch(0.963 0.031 327.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffecfe on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#ffecfe on black: 18.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.5%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow0.4%
Key (black)0.0%

Color previews

#ffecfe text on a black background

contrast 18.68:1

Card sample

#ffecfe text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecfe in the Color Lab