Skip to content

#f1ecf0

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

RGB
241, 236, 240
HSL
312°, 15%, 94%
CMYK
0, 2, 0, 6
Luminance
0.8498

Every format

HEX#f1ecf0
RGBrgb(241, 236, 240)
HSLhsl(312, 15%, 94%)
CMYKcmyk(0%, 2%, 0%, 6%)
LABlab(93.9 2.4 -1.3)
LCHlch(93.9 2.7 330.6)
OKLCHoklch(0.948 0.007 332.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1ecf0 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#f1ecf0 on black: 18.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green92.5%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow0.4%
Key (black)5.5%

Color previews

#f1ecf0 text on a black background

contrast 18.00:1

Card sample

#f1ecf0 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1ecf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1ecf0 in the Color Lab