Skip to content

#fff0f7

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

RGB
255, 240, 247
HSL
332°, 100%, 97%
CMYK
0, 6, 3, 0
Luminance
0.9030

Every format

HEX#fff0f7
RGBrgb(255, 240, 247)
HSLhsl(332, 100%, 97%)
CMYKcmyk(0%, 6%, 3%, 0%)
LABlab(96.1 6.2 -1.6)
LCHlch(96.1 6.4 346.0)
OKLCHoklch(0.969 0.018 347.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.1%
Blue96.9%

CMYK percentages

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

Color previews

#fff0f7 text on a black background

contrast 19.06:1

Card sample

#fff0f7 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff0f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff0f7 in the Color Lab