Skip to content

#fef0f6

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

RGB
254, 240, 246
HSL
334°, 88%, 97%
CMYK
0, 6, 3, 0
Luminance
0.9004

Every format

HEX#fef0f6
RGBrgb(254, 240, 246)
HSLhsl(334, 88%, 97%)
CMYKcmyk(0%, 6%, 3%, 0%)
LABlab(96.0 5.7 -1.2)
LCHlch(96.0 5.8 348.2)
OKLCHoklch(0.968 0.017 349.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef0f6 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fef0f6 on black: 19.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green94.1%
Blue96.5%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow3.1%
Key (black)0.4%

Color previews

#fef0f6 text on a black background

contrast 19.01:1

Card sample

#fef0f6 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 240, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 240, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fef0f6;
background: linear-gradient(135deg, #fef0f6, #FEF3F0);

Monochromatic scale

Palettes built from #fef0f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef0f6 in the Color Lab