#ffc2ff
a pale, electric magenta / pink · warm · closest name: plum
RGB
255, 194, 255
HSL
300°, 100%, 88%
CMYK
0, 24, 0, 0
Luminance
0.6706
Every format
| HEX | #ffc2ff |
| RGB | rgb(255, 194, 255) |
| HSL | hsl(300, 100%, 88%) |
| CMYK | cmyk(0%, 24%, 0%, 0%) |
| LAB | lab(85.5 31.6 -21.5) |
| LCH | lch(85.5 38.3 325.8) |
| OKLCH | oklch(0.888 0.105 326.4) |
Copy-ready code
/* CSS */
color: #ffc2ff;
background-color: #ffc2ff;
/* Tailwind (arbitrary) */
class="text-[#ffc2ff] bg-[#ffc2ff]"
/* SCSS */
$brand: #ffc2ff;
/* SwiftUI */
Color(red: 1.000, green: 0.761, blue: 1.000)
/* Android */
Color.parseColor("#ffc2ff")Accessibility — WCAG contrast
Aa
#ffc2ff on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffc2ff on black: 14.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green76.1%
Blue100.0%
CMYK percentages
Cyan0.0%
Magenta23.9%
Yellow0.0%
Key (black)0.0%
Color previews
#ffc2ff text on a black background
contrast 14.41:1
Card sample
#ffc2ff text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffc2ff;
Background color
Panel with #ffc2ff background
background-color: #ffc2ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffc2ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 194, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 194, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffc2ff; background: linear-gradient(135deg, #ffc2ff, #FFC2D6);