Skip to content

#ffecf2

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

RGB
255, 236, 242
HSL
341°, 100%, 96%
CMYK
0, 8, 5, 0
Luminance
0.8766

Every format

HEX#ffecf2
RGBrgb(255, 236, 242)
HSLhsl(341, 100%, 96%)
CMYKcmyk(0%, 8%, 5%, 0%)
LABlab(95.0 7.4 -0.6)
LCHlch(95.0 7.5 355.6)
OKLCHoklch(0.960 0.022 356.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ffecf2 text on a black background

contrast 18.53:1

Card sample

#ffecf2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecf2 in the Color Lab