Skip to content

#ffe2f2

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

RGB
255, 226, 242
HSL
327°, 100%, 94%
CMYK
0, 11, 5, 0
Luminance
0.8206

Every format

HEX#ffe2f2
RGBrgb(255, 226, 242)
HSLhsl(327, 100%, 94%)
CMYKcmyk(0%, 11%, 5%, 0%)
LABlab(92.6 12.6 -4.1)
LCHlch(92.6 13.2 341.9)
OKLCHoklch(0.941 0.038 343.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe2f2 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ffe2f2 on black: 17.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green88.6%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow5.1%
Key (black)0.0%

Color previews

#ffe2f2 text on a black background

contrast 17.41:1

Card sample

#ffe2f2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe2f2 in the Color Lab