Skip to content

#f2cef6

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

RGB
242, 206, 246
HSL
294°, 69%, 89%
CMYK
2, 16, 0, 4
Luminance
0.6967

Every format

HEX#f2cef6
RGBrgb(242, 206, 246)
HSLhsl(294, 69%, 89%)
CMYKcmyk(2%, 16%, 0%, 4%)
LABlab(86.8 19.4 -14.9)
LCHlch(86.8 24.5 322.5)
OKLCHoklch(0.894 0.066 322.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cef6 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#f2cef6 on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.8%
Blue96.5%

CMYK percentages

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

Color previews

#f2cef6 text on a black background

contrast 14.93:1

Card sample

#f2cef6 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cef6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cef6 in the Color Lab