Skip to content

#fec5fc

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

RGB
254, 197, 252
HSL
302°, 97%, 88%
CMYK
0, 22, 1, 0
Luminance
0.6803

Every format

HEX#fec5fc
RGBrgb(254, 197, 252)
HSLhsl(302, 97%, 88%)
CMYKcmyk(0%, 22%, 1%, 0%)
LABlab(86.0 29.2 -19.2)
LCHlch(86.0 34.9 326.7)
OKLCHoklch(0.891 0.096 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green77.3%
Blue98.8%

CMYK percentages

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

Color previews

#fec5fc text on a black background

contrast 14.61:1

Card sample

#fec5fc text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fec5fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fec5fc in the Color Lab