Skip to content

#ffecfd

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

RGB
255, 236, 253
HSL
306°, 100%, 96%
CMYK
0, 8, 1, 0
Luminance
0.8834

Every format

HEX#ffecfd
RGBrgb(255, 236, 253)
HSLhsl(306, 100%, 96%)
CMYKcmyk(0%, 8%, 1%, 0%)
LABlab(95.3 9.3 -5.9)
LCHlch(95.3 11.0 327.9)
OKLCHoklch(0.963 0.030 329.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.5%
Blue99.2%

CMYK percentages

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

Color previews

#ffecfd text on a black background

contrast 18.67:1

Card sample

#ffecfd text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecfd in the Color Lab