Skip to content

#ffedf2

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

RGB
255, 237, 242
HSL
343°, 100%, 97%
CMYK
0, 7, 5, 0
Luminance
0.8824

Every format

HEX#ffedf2
RGBrgb(255, 237, 242)
HSLhsl(343, 100%, 97%)
CMYKcmyk(0%, 7%, 5%, 0%)
LABlab(95.3 6.9 -0.2)
LCHlch(95.3 6.9 358.2)
OKLCHoklch(0.962 0.021 358.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffedf2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ffedf2 on black: 18.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.9%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow5.1%
Key (black)0.0%

Color previews

#ffedf2 text on a black background

contrast 18.65:1

Card sample

#ffedf2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffedf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffedf2 in the Color Lab