Skip to content

#ffefeb

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

RGB
255, 239, 235
HSL
12°, 100%, 96%
CMYK
0, 6, 8, 0
Luminance
0.8899

Every format

HEX#ffefeb
RGBrgb(255, 239, 235)
HSLhsl(12, 100%, 96%)
CMYKcmyk(0%, 6%, 8%, 0%)
LABlab(95.6 4.7 3.9)
LCHlch(95.6 6.1 39.3)
OKLCHoklch(0.964 0.018 34.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffefeb on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#ffefeb on black: 18.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.7%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow7.8%
Key (black)0.0%

Color previews

#ffefeb text on a black background

contrast 18.80:1

Card sample

#ffefeb text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffefeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffefeb in the Color Lab