Skip to content

#f2dbef

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

RGB
242, 219, 239
HSL
308°, 47%, 90%
CMYK
0, 10, 1, 5
Luminance
0.7577

Every format

HEX#f2dbef
RGBrgb(242, 219, 239)
HSLhsl(308, 47%, 90%)
CMYKcmyk(0%, 10%, 1%, 5%)
LABlab(89.8 11.3 -6.9)
LCHlch(89.8 13.3 328.8)
OKLCHoklch(0.916 0.036 330.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dbef on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#f2dbef on black: 16.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green85.9%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta9.5%
Yellow1.2%
Key (black)5.1%

Color previews

#f2dbef text on a black background

contrast 16.15:1

Card sample

#f2dbef text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dbef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dbef in the Color Lab