Skip to content

#fdf1ef

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

RGB
253, 241, 239
HSL
9°, 78%, 97%
CMYK
0, 5, 6, 1
Luminance
0.9003

Every format

HEX#fdf1ef
RGBrgb(253, 241, 239)
HSLhsl(9, 78%, 97%)
CMYKcmyk(0%, 5%, 6%, 1%)
LABlab(96.0 3.7 2.4)
LCHlch(96.0 4.4 33.1)
OKLCHoklch(0.967 0.013 28.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.5%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow5.5%
Key (black)0.8%

Color previews

#fdf1ef text on a black background

contrast 19.01:1

Card sample

#fdf1ef text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf1ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf1ef in the Color Lab