Skip to content

#f2d2ee

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

RGB
242, 210, 238
HSL
308°, 55%, 89%
CMYK
0, 13, 2, 5
Luminance
0.7114

Every format

HEX#f2d2ee
RGBrgb(242, 210, 238)
HSLhsl(308, 55%, 89%)
CMYKcmyk(0%, 13%, 2%, 5%)
LABlab(87.6 15.9 -9.6)
LCHlch(87.6 18.6 328.8)
OKLCHoklch(0.899 0.051 330.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2d2ee on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#f2d2ee on black: 15.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green82.4%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta13.2%
Yellow1.7%
Key (black)5.1%

Color previews

#f2d2ee text on a black background

contrast 15.23:1

Card sample

#f2d2ee text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d2ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d2ee in the Color Lab