Skip to content

#fecaf2

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

RGB
254, 202, 242
HSL
314°, 96%, 89%
CMYK
0, 21, 5, 0
Luminance
0.6972

Every format

HEX#fecaf2
RGBrgb(254, 202, 242)
HSLhsl(314, 96%, 89%)
CMYKcmyk(0%, 21%, 5%, 0%)
LABlab(86.9 24.8 -12.6)
LCHlch(86.9 27.8 333.0)
OKLCHoklch(0.896 0.078 334.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fecaf2 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#fecaf2 on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green79.2%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta20.5%
Yellow4.7%
Key (black)0.4%

Color previews

#fecaf2 text on a black background

contrast 14.94:1

Card sample

#fecaf2 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fecaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fecaf2 in the Color Lab