#ffcafe
a pale, electric magenta / pink · warm · closest name: plum
RGB
255, 202, 254
HSL
301°, 100%, 90%
CMYK
0, 21, 0, 0
Luminance
0.7066
Every format
| HEX | #ffcafe |
| RGB | rgb(255, 202, 254) |
| HSL | hsl(301, 100%, 90%) |
| CMYK | cmyk(0%, 21%, 0%, 0%) |
| LAB | lab(87.3 27.2 -18.3) |
| LCH | lch(87.3 32.8 326.1) |
| OKLCH | oklch(0.901 0.090 326.9) |
Copy-ready code
/* CSS */
color: #ffcafe;
background-color: #ffcafe;
/* Tailwind (arbitrary) */
class="text-[#ffcafe] bg-[#ffcafe]"
/* SCSS */
$brand: #ffcafe;
/* SwiftUI */
Color(red: 1.000, green: 0.792, blue: 0.996)
/* Android */
Color.parseColor("#ffcafe")Accessibility — WCAG contrast
Aa
#ffcafe on white: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffcafe on black: 15.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green79.2%
Blue99.6%
CMYK percentages
Cyan0.0%
Magenta20.8%
Yellow0.4%
Key (black)0.0%
Color previews
#ffcafe text on a black background
contrast 15.13:1
Card sample
#ffcafe text on a white background
contrast 1.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffcafe;
Background color
Panel with #ffcafe background
background-color: #ffcafe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffcafe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 202, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 202, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffcafe; background: linear-gradient(135deg, #ffcafe, #FFCADB);