Skip to content

#fef0ff

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

RGB
254, 240, 255
HSL
296°, 100%, 97%
CMYK
0, 6, 0, 0
Luminance
0.9061

Every format

HEX#fef0ff
RGBrgb(254, 240, 255)
HSLhsl(296, 100%, 97%)
CMYKcmyk(0%, 6%, 0%, 0%)
LABlab(96.3 7.3 -5.5)
LCHlch(96.3 9.2 323.0)
OKLCHoklch(0.970 0.025 323.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green94.1%
Blue100.0%

CMYK percentages

Cyan0.4%
Magenta5.9%
Yellow0.0%
Key (black)0.0%

Color previews

#fef0ff text on a black background

contrast 19.12:1

Card sample

#fef0ff text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef0ff in the Color Lab