Skip to content

#fdf8f8

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

RGB
253, 248, 248
HSL
0°, 56%, 98%
CMYK
0, 2, 2, 1
Luminance
0.9479

Every format

HEX#fdf8f8
RGBrgb(253, 248, 248)
HSLhsl(0, 56%, 98%)
CMYKcmyk(0%, 2%, 2%, 1%)
LABlab(98.0 1.7 0.6)
LCHlch(98.0 1.8 19.6)
OKLCHoklch(0.983 0.005 17.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.3%
Blue97.3%

CMYK percentages

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

Color previews

#fdf8f8 text on a black background

contrast 19.96:1

Card sample

#fdf8f8 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8f8 in the Color Lab