#cc7cbf
a balanced, soft magenta / pink · warm · closest name: plum
RGB
204, 124, 191
HSL
310°, 44%, 64%
CMYK
0, 39, 6, 20
Luminance
0.3101
Every format
| HEX | #cc7cbf |
| RGB | rgb(204, 124, 191) |
| HSL | hsl(310, 44%, 64%) |
| CMYK | cmyk(0%, 39%, 6%, 20%) |
| LAB | lab(62.5 40.9 -22.0) |
| LCH | lch(62.5 46.5 331.7) |
| OKLCH | oklch(0.693 0.131 333.0) |
Copy-ready code
/* CSS */
color: #cc7cbf;
background-color: #cc7cbf;
/* Tailwind (arbitrary) */
class="text-[#cc7cbf] bg-[#cc7cbf]"
/* SCSS */
$brand: #cc7cbf;
/* SwiftUI */
Color(red: 0.800, green: 0.486, blue: 0.749)
/* Android */
Color.parseColor("#cc7cbf")Accessibility — WCAG contrast
Aa
#cc7cbf on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cc7cbf on black: 7.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green48.6%
Blue74.9%
CMYK percentages
Cyan0.0%
Magenta39.2%
Yellow6.4%
Key (black)20.0%
Color previews
#cc7cbf text on a black background
contrast 7.20:1
Card sample
#cc7cbf text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc7cbf;
Background color
Panel with #cc7cbf background
background-color: #cc7cbf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc7cbf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 124, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 124, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc7cbf; background: linear-gradient(135deg, #cc7cbf, #CC7C8A);