#ffeef2
a pale, electric red · warm · closest name: white
RGB
255, 238, 242
HSL
346°, 100%, 97%
CMYK
0, 7, 5, 0
Luminance
0.8882
Every format
| HEX | #ffeef2 |
| RGB | rgb(255, 238, 242) |
| HSL | hsl(346, 100%, 97%) |
| CMYK | cmyk(0%, 7%, 5%, 0%) |
| LAB | lab(95.5 6.4 0.1) |
| LCH | lch(95.5 6.4 1.3) |
| OKLCH | oklch(0.964 0.019 1.4) |
Copy-ready code
/* CSS */
color: #ffeef2;
background-color: #ffeef2;
/* Tailwind (arbitrary) */
class="text-[#ffeef2] bg-[#ffeef2]"
/* SCSS */
$brand: #ffeef2;
/* SwiftUI */
Color(red: 1.000, green: 0.933, blue: 0.949)
/* Android */
Color.parseColor("#ffeef2")Accessibility — WCAG contrast
Aa
#ffeef2 on white: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffeef2 on black: 18.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green93.3%
Blue94.9%
CMYK percentages
Cyan0.0%
Magenta6.7%
Yellow5.1%
Key (black)0.0%
Color previews
#ffeef2 text on a black background
contrast 18.76:1
Card sample
#ffeef2 text on a white background
contrast 1.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffeef2;
Background color
Panel with #ffeef2 background
background-color: #ffeef2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffeef2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 238, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 238, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffeef2; background: linear-gradient(135deg, #ffeef2, #FFF5EE);