Skip to content

#fff0fe

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

RGB
255, 240, 254
HSL
304°, 100%, 97%
CMYK
0, 6, 0, 0
Luminance
0.9074

Every format

HEX#fff0fe
RGBrgb(255, 240, 254)
HSLhsl(304, 100%, 97%)
CMYKcmyk(0%, 6%, 0%, 0%)
LABlab(96.3 7.5 -4.9)
LCHlch(96.3 8.9 326.6)
OKLCHoklch(0.971 0.024 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.1%
Blue99.6%

CMYK percentages

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

Color previews

#fff0fe text on a black background

contrast 19.15:1

Card sample

#fff0fe text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff0fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff0fe in the Color Lab