Skip to content

#f2e3ef

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

RGB
242, 227, 239
HSL
312°, 37%, 92%
CMYK
0, 6, 1, 5
Luminance
0.8005

Every format

HEX#f2e3ef
RGBrgb(242, 227, 239)
HSLhsl(312, 37%, 92%)
CMYKcmyk(0%, 6%, 1%, 5%)
LABlab(91.7 7.2 -4.0)
LCHlch(91.7 8.2 330.9)
OKLCHoklch(0.931 0.023 332.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2e3ef on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#f2e3ef on black: 17.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green89.0%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta6.2%
Yellow1.2%
Key (black)5.1%

Color previews

#f2e3ef text on a black background

contrast 17.01:1

Card sample

#f2e3ef text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2e3ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2e3ef in the Color Lab