Skip to content

#ffecf1

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

RGB
255, 236, 241
HSL
344°, 100%, 96%
CMYK
0, 8, 6, 0
Luminance
0.8760

Every format

HEX#ffecf1
RGBrgb(255, 236, 241)
HSLhsl(344, 100%, 96%)
CMYKcmyk(0%, 8%, 6%, 0%)
LABlab(95.0 7.3 -0.1)
LCHlch(95.0 7.3 359.3)
OKLCHoklch(0.960 0.022 359.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.5%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow5.5%
Key (black)0.0%

Color previews

#ffecf1 text on a black background

contrast 18.52:1

Card sample

#ffecf1 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecf1 in the Color Lab