Skip to content

#fec4fe

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

RGB
254, 196, 254
HSL
300°, 97%, 88%
CMYK
0, 23, 0, 0
Luminance
0.6771

Every format

HEX#fec4fe
RGBrgb(254, 196, 254)
HSLhsl(300, 97%, 88%)
CMYKcmyk(0%, 23%, 0%, 0%)
LABlab(85.9 30.1 -20.5)
LCHlch(85.9 36.4 325.7)
OKLCHoklch(0.890 0.100 326.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fec4fe on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#fec4fe on black: 14.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green76.9%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta22.8%
Yellow0.0%
Key (black)0.4%

Color previews

#fec4fe text on a black background

contrast 14.54:1

Card sample

#fec4fe text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 196, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 196, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fec4fe;
background: linear-gradient(135deg, #fec4fe, #FEC4D7);

Monochromatic scale

Palettes built from #fec4fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fec4fe in the Color Lab