Skip to content

#f5ddef

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
245, 221, 239
HSL
315°, 55%, 91%
CMYK
0, 10, 2, 4
Luminance
0.7736

Every format

HEX#f5ddef
RGBrgb(245, 221, 239)
HSLhsl(315, 55%, 91%)
CMYKcmyk(0%, 10%, 2%, 4%)
LABlab(90.5 11.3 -5.8)
LCHlch(90.5 12.7 333.0)
OKLCHoklch(0.922 0.035 334.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green86.7%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta9.8%
Yellow2.4%
Key (black)3.9%

Color previews

#f5ddef text on a black background

contrast 16.47:1

Card sample

#f5ddef text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5ddef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5ddef in the Color Lab