Skip to content

#f5dfdc

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

RGB
245, 223, 220
HSL
7°, 56%, 91%
CMYK
0, 9, 10, 4
Luminance
0.7736

Every format

HEX#f5dfdc
RGBrgb(245, 223, 220)
HSLhsl(7, 56%, 91%)
CMYKcmyk(0%, 9%, 10%, 4%)
LABlab(90.5 7.0 4.2)
LCHlch(90.5 8.2 30.8)
OKLCHoklch(0.921 0.025 26.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5dfdc on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f5dfdc on black: 16.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green87.5%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta9.0%
Yellow10.2%
Key (black)3.9%

Color previews

#f5dfdc text on a black background

contrast 16.47:1

Card sample

#f5dfdc text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(245, 223, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 223, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f5dfdc;
background: linear-gradient(135deg, #f5dfdc, #F5F0DC);

Monochromatic scale

Palettes built from #f5dfdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5dfdc in the Color Lab