Skip to content

#f0fefd

a pale, electric cyan · cool · closest name: white

RGB
240, 254, 253
HSL
176°, 88%, 97%
CMYK
6, 0, 0, 0
Luminance
0.9650

Every format

HEX#f0fefd
RGBrgb(240, 254, 253)
HSLhsl(176, 88%, 97%)
CMYKcmyk(6%, 0%, 0%, 0%)
LABlab(98.6 -4.8 -1.1)
LCHlch(98.6 4.9 193.0)
OKLCHoklch(0.986 0.015 191.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0fefd on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#f0fefd on black: 20.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green99.6%
Blue99.2%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow0.4%
Key (black)0.4%

Color previews

#f0fefd text on a black background

contrast 20.30:1

Card sample

#f0fefd text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fefd in the Color Lab