Skip to content

#f6ecf2

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

RGB
246, 236, 242
HSL
324°, 36%, 95%
CMYK
0, 4, 2, 4
Luminance
0.8599

Every format

HEX#f6ecf2
RGBrgb(246, 236, 242)
HSLhsl(324, 36%, 95%)
CMYKcmyk(0%, 4%, 2%, 4%)
LABlab(94.3 4.4 -1.7)
LCHlch(94.3 4.7 339.0)
OKLCHoklch(0.953 0.013 340.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.5%
Green92.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta4.1%
Yellow1.6%
Key (black)3.5%

Color previews

#f6ecf2 text on a black background

contrast 18.20:1

Card sample

#f6ecf2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6ecf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6ecf2 in the Color Lab