Skip to content

#f5dfdf

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

RGB
245, 223, 223
HSL
0°, 52%, 92%
CMYK
0, 9, 9, 4
Luminance
0.7752

Every format

HEX#f5dfdf
RGBrgb(245, 223, 223)
HSLhsl(0, 52%, 92%)
CMYKcmyk(0%, 9%, 9%, 4%)
LABlab(90.6 7.5 2.7)
LCHlch(90.6 8.0 20.0)
OKLCHoklch(0.921 0.024 17.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green87.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta9.0%
Yellow9.0%
Key (black)3.9%

Color previews

#f5dfdf text on a black background

contrast 16.50:1

Card sample

#f5dfdf text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5dfdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5dfdf in the Color Lab