Skip to content

#fdf8f2

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

RGB
253, 248, 242
HSL
33°, 73%, 97%
CMYK
0, 2, 4, 1
Luminance
0.9443

Every format

HEX#fdf8f2
RGBrgb(253, 248, 242)
HSLhsl(33, 73%, 97%)
CMYKcmyk(0%, 2%, 4%, 1%)
LABlab(97.8 0.6 3.5)
LCHlch(97.8 3.5 79.7)
OKLCHoklch(0.981 0.010 72.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf8f2 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdf8f2 on black: 19.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow4.3%
Key (black)0.8%

Color previews

#fdf8f2 text on a black background

contrast 19.89:1

Card sample

#fdf8f2 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8f2 in the Color Lab