Skip to content

#f4def4

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

RGB
244, 222, 244
HSL
300°, 50%, 91%
CMYK
0, 9, 0, 4
Luminance
0.7801

Every format

HEX#f4def4
RGBrgb(244, 222, 244)
HSLhsl(300, 50%, 91%)
CMYKcmyk(0%, 9%, 0%, 4%)
LABlab(90.8 11.3 -8.0)
LCHlch(90.8 13.8 324.9)
OKLCHoklch(0.925 0.038 325.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4def4 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#f4def4 on black: 16.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green87.1%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta9.0%
Yellow0.0%
Key (black)4.3%

Color previews

#f4def4 text on a black background

contrast 16.60:1

Card sample

#f4def4 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4def4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4def4 in the Color Lab