Skip to content

#ffebf1

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

RGB
255, 235, 241
HSL
342°, 100%, 96%
CMYK
0, 8, 6, 0
Luminance
0.8703

Every format

HEX#ffebf1
RGBrgb(255, 235, 241)
HSLhsl(342, 100%, 96%)
CMYKcmyk(0%, 8%, 6%, 0%)
LABlab(94.8 7.8 -0.5)
LCHlch(94.8 7.8 356.7)
OKLCHoklch(0.958 0.023 357.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffebf1 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ffebf1 on black: 18.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.2%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow5.5%
Key (black)0.0%

Color previews

#ffebf1 text on a black background

contrast 18.41:1

Card sample

#ffebf1 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebf1 in the Color Lab