#ffb4cd
a pale, electric magenta / pink · warm · closest name: pink
RGB
255, 180, 205
HSL
340°, 100%, 85%
CMYK
0, 29, 20, 0
Luminance
0.5831
Every format
| HEX | #ffb4cd |
| RGB | rgb(255, 180, 205) |
| HSL | hsl(340, 100%, 85%) |
| CMYK | cmyk(0%, 29%, 20%, 0%) |
| LAB | lab(80.9 30.7 -1.6) |
| LCH | lch(80.9 30.8 356.9) |
| OKLCH | oklch(0.847 0.092 357.6) |
Copy-ready code
/* CSS */
color: #ffb4cd;
background-color: #ffb4cd;
/* Tailwind (arbitrary) */
class="text-[#ffb4cd] bg-[#ffb4cd]"
/* SCSS */
$brand: #ffb4cd;
/* SwiftUI */
Color(red: 1.000, green: 0.706, blue: 0.804)
/* Android */
Color.parseColor("#ffb4cd")Accessibility — WCAG contrast
Aa
#ffb4cd on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffb4cd on black: 12.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green70.6%
Blue80.4%
CMYK percentages
Cyan0.0%
Magenta29.4%
Yellow19.6%
Key (black)0.0%
Color previews
#ffb4cd text on a black background
contrast 12.66:1
Card sample
#ffb4cd text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffb4cd;
Background color
Panel with #ffb4cd background
background-color: #ffb4cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffb4cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 180, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 180, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffb4cd; background: linear-gradient(135deg, #ffb4cd, #FFCDB4);