Skip to content

#fcf0fd

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

RGB
252, 240, 253
HSL
295°, 77%, 97%
CMYK
0, 5, 0, 1
Luminance
0.9011

Every format

HEX#fcf0fd
RGBrgb(252, 240, 253)
HSLhsl(295, 77%, 97%)
CMYKcmyk(0%, 5%, 0%, 1%)
LABlab(96.0 6.3 -4.8)
LCHlch(96.0 7.9 322.6)
OKLCHoklch(0.968 0.021 323.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf0fd on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fcf0fd on black: 19.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.1%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta5.1%
Yellow0.0%
Key (black)0.8%

Color previews

#fcf0fd text on a black background

contrast 19.02:1

Card sample

#fcf0fd text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf0fd in the Color Lab