Skip to content

#f9ecf2

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

RGB
249, 236, 242
HSL
332°, 52%, 95%
CMYK
0, 5, 3, 2
Luminance
0.8654

Every format

HEX#f9ecf2
RGBrgb(249, 236, 242)
HSLhsl(332, 52%, 95%)
CMYKcmyk(0%, 5%, 3%, 2%)
LABlab(94.5 5.4 -1.3)
LCHlch(94.5 5.6 346.2)
OKLCHoklch(0.955 0.016 347.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9ecf2 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f9ecf2 on black: 18.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green92.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta5.2%
Yellow2.8%
Key (black)2.4%

Color previews

#f9ecf2 text on a black background

contrast 18.31:1

Card sample

#f9ecf2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9ecf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9ecf2 in the Color Lab