Skip to content

#ffebf5

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

RGB
255, 235, 245
HSL
330°, 100%, 96%
CMYK
0, 8, 4, 0
Luminance
0.8727

Every format

HEX#ffebf5
RGBrgb(255, 235, 245)
HSLhsl(330, 100%, 96%)
CMYKcmyk(0%, 8%, 4%, 0%)
LABlab(94.8 8.4 -2.4)
LCHlch(94.8 8.8 344.3)
OKLCHoklch(0.959 0.025 345.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue96.1%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow3.9%
Key (black)0.0%

Color previews

#ffebf5 text on a black background

contrast 18.45:1

Card sample

#ffebf5 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebf5 in the Color Lab