Skip to content

#f4ecf0

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

RGB
244, 236, 240
HSL
330°, 27%, 94%
CMYK
0, 3, 2, 4
Luminance
0.8552

Every format

HEX#f4ecf0
RGBrgb(244, 236, 240)
HSLhsl(330, 27%, 94%)
CMYKcmyk(0%, 3%, 2%, 4%)
LABlab(94.1 3.4 -1.0)
LCHlch(94.1 3.5 344.0)
OKLCHoklch(0.951 0.010 345.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4ecf0 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f4ecf0 on black: 18.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green92.5%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta3.3%
Yellow1.6%
Key (black)4.3%

Color previews

#f4ecf0 text on a black background

contrast 18.10:1

Card sample

#f4ecf0 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4ecf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4ecf0 in the Color Lab