#ffccfb
a pale, electric magenta / pink · warm · closest name: plum
RGB
255, 204, 251
HSL
305°, 100%, 90%
CMYK
0, 20, 2, 0
Luminance
0.7141
Every format
| HEX | #ffccfb |
| RGB | rgb(255, 204, 251) |
| HSL | hsl(305, 100%, 90%) |
| CMYK | cmyk(0%, 20%, 2%, 0%) |
| LAB | lab(87.7 25.6 -16.2) |
| LCH | lch(87.7 30.3 327.8) |
| OKLCH | oklch(0.904 0.084 328.8) |
Copy-ready code
/* CSS */
color: #ffccfb;
background-color: #ffccfb;
/* Tailwind (arbitrary) */
class="text-[#ffccfb] bg-[#ffccfb]"
/* SCSS */
$brand: #ffccfb;
/* SwiftUI */
Color(red: 1.000, green: 0.800, blue: 0.984)
/* Android */
Color.parseColor("#ffccfb")Accessibility — WCAG contrast
Aa
#ffccfb on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffccfb on black: 15.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green80.0%
Blue98.4%
CMYK percentages
Cyan0.0%
Magenta20.0%
Yellow1.6%
Key (black)0.0%
Color previews
#ffccfb text on a black background
contrast 15.28:1
Card sample
#ffccfb text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffccfb;
Background color
Panel with #ffccfb background
background-color: #ffccfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffccfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 204, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 204, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffccfb; background: linear-gradient(135deg, #ffccfb, #FFCCD9);