Skip to content

#fec0fc

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

RGB
254, 192, 252
HSL
302°, 97%, 88%
CMYK
0, 24, 1, 0
Luminance
0.6580

Every format

HEX#fec0fc
RGBrgb(254, 192, 252)
HSLhsl(302, 97%, 88%)
CMYKcmyk(0%, 24%, 1%, 0%)
LABlab(84.9 31.8 -20.9)
LCHlch(84.9 38.1 326.7)
OKLCHoklch(0.882 0.105 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green75.3%
Blue98.8%

CMYK percentages

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

Color previews

#fec0fc text on a black background

contrast 14.16:1

Card sample

#fec0fc text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fec0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fec0fc in the Color Lab