Skip to content

#ffecfc

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

RGB
255, 236, 252
HSL
310°, 100%, 96%
CMYK
0, 8, 1, 0
Luminance
0.8828

Every format

HEX#ffecfc
RGBrgb(255, 236, 252)
HSLhsl(310, 100%, 96%)
CMYKcmyk(0%, 8%, 1%, 0%)
LABlab(95.3 9.2 -5.4)
LCHlch(95.3 10.6 329.5)
OKLCHoklch(0.963 0.029 330.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.5%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow1.2%
Key (black)0.0%

Color previews

#ffecfc text on a black background

contrast 18.66:1

Card sample

#ffecfc text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecfc in the Color Lab