Skip to content

#ffecf7

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

RGB
255, 236, 247
HSL
325°, 100%, 96%
CMYK
0, 8, 3, 0
Luminance
0.8797

Every format

HEX#ffecf7
RGBrgb(255, 236, 247)
HSLhsl(325, 100%, 96%)
CMYKcmyk(0%, 8%, 3%, 0%)
LABlab(95.2 8.3 -3.0)
LCHlch(95.2 8.8 340.2)
OKLCHoklch(0.961 0.025 341.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.5%
Blue96.9%

CMYK percentages

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

Color previews

#ffecf7 text on a black background

contrast 18.59:1

Card sample

#ffecf7 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecf7 in the Color Lab