Skip to content

#f2cff0

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

RGB
242, 207, 240
HSL
303°, 57%, 88%
CMYK
0, 15, 1, 5
Luminance
0.6979

Every format

HEX#f2cff0
RGBrgb(242, 207, 240)
HSLhsl(303, 57%, 88%)
CMYKcmyk(0%, 15%, 1%, 5%)
LABlab(86.9 17.8 -11.6)
LCHlch(86.9 21.3 326.8)
OKLCHoklch(0.894 0.058 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cff0 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f2cff0 on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green81.2%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow0.8%
Key (black)5.1%

Color previews

#f2cff0 text on a black background

contrast 14.96:1

Card sample

#f2cff0 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cff0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cff0 in the Color Lab