Skip to content

#fff0f1

a pale, electric red · warm · closest name: white

RGB
255, 240, 241
HSL
356°, 100%, 97%
CMYK
0, 6, 6, 0
Luminance
0.8993

Every format

HEX#fff0f1
RGBrgb(255, 240, 241)
HSLhsl(356, 100%, 97%)
CMYKcmyk(0%, 6%, 6%, 0%)
LABlab(96.0 5.2 1.3)
LCHlch(96.0 5.4 14.3)
OKLCHoklch(0.967 0.016 12.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff0f1 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fff0f1 on black: 18.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.1%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow5.5%
Key (black)0.0%

Color previews

#fff0f1 text on a black background

contrast 18.99:1

Card sample

#fff0f1 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff0f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff0f1 in the Color Lab