#f2c0f4
a pale, vivid magenta / pink · warm · closest name: plum
RGB
242, 192, 244
HSL
298°, 70%, 86%
CMYK
1, 21, 0, 4
Luminance
0.6311
Every format
| HEX | #f2c0f4 |
| RGB | rgb(242, 192, 244) |
| HSL | hsl(298, 70%, 86%) |
| CMYK | cmyk(1%, 21%, 0%, 4%) |
| LAB | lab(83.5 26.5 -18.9) |
| LCH | lch(83.5 32.5 324.5) |
| OKLCH | oklch(0.868 0.089 325.1) |
Copy-ready code
/* CSS */
color: #f2c0f4;
background-color: #f2c0f4;
/* Tailwind (arbitrary) */
class="text-[#f2c0f4] bg-[#f2c0f4]"
/* SCSS */
$brand: #f2c0f4;
/* SwiftUI */
Color(red: 0.949, green: 0.753, blue: 0.957)
/* Android */
Color.parseColor("#f2c0f4")Accessibility — WCAG contrast
Aa
#f2c0f4 on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2c0f4 on black: 13.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green75.3%
Blue95.7%
CMYK percentages
Cyan0.8%
Magenta21.3%
Yellow0.0%
Key (black)4.3%
Color previews
#f2c0f4 text on a black background
contrast 13.62:1
Card sample
#f2c0f4 text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2c0f4;
Background color
Panel with #f2c0f4 background
background-color: #f2c0f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2c0f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 192, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 192, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2c0f4; background: linear-gradient(135deg, #f2c0f4, #F4C0D3);