Skip to content

#fdf8f7

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

RGB
253, 248, 247
HSL
10°, 60%, 98%
CMYK
0, 2, 2, 1
Luminance
0.9473

Every format

HEX#fdf8f7
RGBrgb(253, 248, 247)
HSLhsl(10, 60%, 98%)
CMYKcmyk(0%, 2%, 2%, 1%)
LABlab(97.9 1.5 1.1)
LCHlch(97.9 1.8 35.7)
OKLCHoklch(0.983 0.005 31.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf8f7 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fdf8f7 on black: 19.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow2.4%
Key (black)0.8%

Color previews

#fdf8f7 text on a black background

contrast 19.95:1

Card sample

#fdf8f7 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8f7 in the Color Lab