Skip to content

#f4def2

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

RGB
244, 222, 242
HSL
306°, 50%, 91%
CMYK
0, 9, 1, 4
Luminance
0.7789

Every format

HEX#f4def2
RGBrgb(244, 222, 242)
HSLhsl(306, 50%, 91%)
CMYKcmyk(0%, 9%, 1%, 4%)
LABlab(90.7 11.0 -7.0)
LCHlch(90.7 13.0 327.5)
OKLCHoklch(0.924 0.036 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green87.1%
Blue94.9%

CMYK percentages

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

Color previews

#f4def2 text on a black background

contrast 16.58:1

Card sample

#f4def2 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4def2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4def2 in the Color Lab