Skip to content

#ffecf9

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

RGB
255, 236, 249
HSL
319°, 100%, 96%
CMYK
0, 8, 2, 0
Luminance
0.8809

Every format

HEX#ffecf9
RGBrgb(255, 236, 249)
HSLhsl(319, 100%, 96%)
CMYKcmyk(0%, 8%, 2%, 0%)
LABlab(95.2 8.6 -3.9)
LCHlch(95.2 9.5 335.5)
OKLCHoklch(0.962 0.027 337.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffecf9 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ffecf9 on black: 18.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.5%
Blue97.6%

CMYK percentages

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

Color previews

#ffecf9 text on a black background

contrast 18.62:1

Card sample

#ffecf9 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecf9 in the Color Lab