Skip to content

#f2cdee

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

RGB
242, 205, 238
HSL
307°, 59%, 88%
CMYK
0, 15, 2, 5
Luminance
0.6871

Every format

HEX#f2cdee
RGBrgb(242, 205, 238)
HSLhsl(307, 59%, 88%)
CMYKcmyk(0%, 15%, 2%, 5%)
LABlab(86.4 18.5 -11.4)
LCHlch(86.4 21.7 328.4)
OKLCHoklch(0.889 0.060 329.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cdee on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#f2cdee on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.4%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta15.3%
Yellow1.7%
Key (black)5.1%

Color previews

#f2cdee text on a black background

contrast 14.74:1

Card sample

#f2cdee text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cdee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cdee in the Color Lab