Skip to content

#f2e3f2

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

RGB
242, 227, 242
HSL
300°, 37%, 92%
CMYK
0, 6, 0, 5
Luminance
0.8023

Every format

HEX#f2e3f2
RGBrgb(242, 227, 242)
HSLhsl(300, 37%, 92%)
CMYKcmyk(0%, 6%, 0%, 5%)
LABlab(91.8 7.7 -5.4)
LCHlch(91.8 9.4 324.8)
OKLCHoklch(0.932 0.026 325.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green89.0%
Blue94.9%

CMYK percentages

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

Color previews

#f2e3f2 text on a black background

contrast 17.05:1

Card sample

#f2e3f2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2e3f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2e3f2 in the Color Lab