Skip to content

#f2cdf6

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

RGB
242, 205, 246
HSL
294°, 70%, 88%
CMYK
2, 17, 0, 4
Luminance
0.6919

Every format

HEX#f2cdf6
RGBrgb(242, 205, 246)
HSLhsl(294, 70%, 88%)
CMYKcmyk(2%, 17%, 0%, 4%)
LABlab(86.6 20.0 -15.3)
LCHlch(86.6 25.1 322.6)
OKLCHoklch(0.892 0.068 323.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green80.4%
Blue96.5%

CMYK percentages

Cyan1.6%
Magenta16.7%
Yellow0.0%
Key (black)3.5%

Color previews

#f2cdf6 text on a black background

contrast 14.84:1

Card sample

#f2cdf6 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cdf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cdf6 in the Color Lab