Skip to content

#f2cef3

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

RGB
242, 206, 243
HSL
298°, 61%, 88%
CMYK
0, 15, 0, 5
Luminance
0.6949

Every format

HEX#f2cef3
RGBrgb(242, 206, 243)
HSLhsl(298, 61%, 88%)
CMYKcmyk(0%, 15%, 0%, 5%)
LABlab(86.8 18.9 -13.4)
LCHlch(86.8 23.2 324.5)
OKLCHoklch(0.893 0.063 325.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green80.8%
Blue95.3%

CMYK percentages

Cyan0.4%
Magenta15.2%
Yellow0.0%
Key (black)4.7%

Color previews

#f2cef3 text on a black background

contrast 14.90:1

Card sample

#f2cef3 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cef3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cef3 in the Color Lab