Skip to content

#ffebfc

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

RGB
255, 235, 252
HSL
309°, 100%, 96%
CMYK
0, 8, 1, 0
Luminance
0.8770

Every format

HEX#ffebfc
RGBrgb(255, 235, 252)
HSLhsl(309, 100%, 96%)
CMYKcmyk(0%, 8%, 1%, 0%)
LABlab(95.0 9.7 -5.7)
LCHlch(95.0 11.3 329.3)
OKLCHoklch(0.961 0.031 330.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow1.2%
Key (black)0.0%

Color previews

#ffebfc text on a black background

contrast 18.54:1

Card sample

#ffebfc text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebfc in the Color Lab