Skip to content

#fff4f7

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

RGB
255, 244, 247
HSL
344°, 100%, 98%
CMYK
0, 4, 3, 0
Luminance
0.9268

Every format

HEX#fff4f7
RGBrgb(255, 244, 247)
HSLhsl(344, 100%, 98%)
CMYKcmyk(0%, 4%, 3%, 0%)
LABlab(97.1 4.2 -0.1)
LCHlch(97.1 4.2 358.2)
OKLCHoklch(0.977 0.012 358.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff4f7 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fff4f7 on black: 19.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green95.7%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow3.1%
Key (black)0.0%

Color previews

#fff4f7 text on a black background

contrast 19.54:1

Card sample

#fff4f7 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff4f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff4f7 in the Color Lab