Skip to content

#f2e3ed

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

RGB
242, 227, 237
HSL
320°, 37%, 92%
CMYK
0, 6, 2, 5
Luminance
0.7993

Every format

HEX#f2e3ed
RGBrgb(242, 227, 237)
HSLhsl(320, 37%, 92%)
CMYKcmyk(0%, 6%, 2%, 5%)
LABlab(91.7 6.8 -3.0)
LCHlch(91.7 7.5 336.1)
OKLCHoklch(0.931 0.021 337.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2e3ed on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#f2e3ed on black: 16.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green89.0%
Blue92.9%

CMYK percentages

Cyan0.0%
Magenta6.2%
Yellow2.1%
Key (black)5.1%

Color previews

#f2e3ed text on a black background

contrast 16.99:1

Card sample

#f2e3ed text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2e3ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2e3ed in the Color Lab