Skip to content

#f1def2

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

RGB
241, 222, 242
HSL
297°, 44%, 91%
CMYK
0, 8, 0, 5
Luminance
0.7735

Every format

HEX#f1def2
RGBrgb(241, 222, 242)
HSLhsl(297, 44%, 91%)
CMYKcmyk(0%, 8%, 0%, 5%)
LABlab(90.5 10.0 -7.4)
LCHlch(90.5 12.4 323.5)
OKLCHoklch(0.922 0.034 324.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.5%
Green87.1%
Blue94.9%

CMYK percentages

Cyan0.4%
Magenta8.3%
Yellow0.0%
Key (black)5.1%

Color previews

#f1def2 text on a black background

contrast 16.47:1

Card sample

#f1def2 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1def2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1def2 in the Color Lab