Skip to content

#f2edf2

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

RGB
242, 237, 242
HSL
300°, 16%, 94%
CMYK
0, 2, 0, 5
Luminance
0.8586

Every format

HEX#f2edf2
RGBrgb(242, 237, 242)
HSLhsl(300, 16%, 94%)
CMYKcmyk(0%, 2%, 0%, 5%)
LABlab(94.3 2.5 -1.8)
LCHlch(94.3 3.1 324.5)
OKLCHoklch(0.951 0.009 325.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2edf2 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f2edf2 on black: 18.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green92.9%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow0.0%
Key (black)5.1%

Color previews

#f2edf2 text on a black background

contrast 18.17:1

Card sample

#f2edf2 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2edf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2edf2 in the Color Lab