Skip to content

#fff1f7

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

RGB
255, 241, 247
HSL
334°, 100%, 97%
CMYK
0, 6, 3, 0
Luminance
0.9089

Every format

HEX#fff1f7
RGBrgb(255, 241, 247)
HSLhsl(334, 100%, 97%)
CMYKcmyk(0%, 6%, 3%, 0%)
LABlab(96.4 5.7 -1.2)
LCHlch(96.4 5.8 348.2)
OKLCHoklch(0.971 0.017 349.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.5%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow3.1%
Key (black)0.0%

Color previews

#fff1f7 text on a black background

contrast 19.18:1

Card sample

#fff1f7 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff1f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff1f7 in the Color Lab