Skip to content

#fec0fe

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

RGB
254, 192, 254
HSL
300°, 97%, 88%
CMYK
0, 24, 0, 0
Luminance
0.6593

Every format

HEX#fec0fe
RGBrgb(254, 192, 254)
HSLhsl(300, 97%, 88%)
CMYKcmyk(0%, 24%, 0%, 0%)
LABlab(85.0 32.2 -21.9)
LCHlch(85.0 38.9 325.8)
OKLCHoklch(0.883 0.107 326.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fec0fe on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#fec0fe on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green75.3%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta24.4%
Yellow0.0%
Key (black)0.4%

Color previews

#fec0fe text on a black background

contrast 14.19:1

Card sample

#fec0fe text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fec0fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fec0fe in the Color Lab