Skip to content

#ffebf0

a pale, electric red · warm · closest name: white

RGB
255, 235, 240
HSL
345°, 100%, 96%
CMYK
0, 8, 6, 0
Luminance
0.8697

Every format

HEX#ffebf0
RGBrgb(255, 235, 240)
HSLhsl(345, 100%, 96%)
CMYKcmyk(0%, 8%, 6%, 0%)
LABlab(94.7 7.6 0.0)
LCHlch(94.7 7.6 0.3)
OKLCHoklch(0.957 0.023 0.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue94.1%

CMYK percentages

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

Color previews

#ffebf0 text on a black background

contrast 18.39:1

Card sample

#ffebf0 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebf0 in the Color Lab