#cc4eb7
a balanced, vivid magenta / pink · warm · closest name: orchid
RGB
204, 78, 183
HSL
310°, 55%, 55%
CMYK
0, 62, 10, 20
Luminance
0.2171
Every format
| HEX | #cc4eb7 |
| RGB | rgb(204, 78, 183) |
| HSL | hsl(310, 55%, 55%) |
| CMYK | cmyk(0%, 62%, 10%, 20%) |
| LAB | lab(53.7 61.9 -31.0) |
| LCH | lch(53.7 69.2 333.4) |
| OKLCH | oklch(0.627 0.199 334.8) |
Copy-ready code
/* CSS */
color: #cc4eb7;
background-color: #cc4eb7;
/* Tailwind (arbitrary) */
class="text-[#cc4eb7] bg-[#cc4eb7]"
/* SCSS */
$brand: #cc4eb7;
/* SwiftUI */
Color(red: 0.800, green: 0.306, blue: 0.718)
/* Android */
Color.parseColor("#cc4eb7")Accessibility — WCAG contrast
Aa
#cc4eb7 on white: 3.93:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc4eb7 on black: 5.34:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green30.6%
Blue71.8%
CMYK percentages
Cyan0.0%
Magenta61.8%
Yellow10.3%
Key (black)20.0%
Color previews
#cc4eb7 text on a black background
contrast 5.34:1
Card sample
#cc4eb7 text on a white background
contrast 3.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc4eb7;
Background color
Panel with #cc4eb7 background
background-color: #cc4eb7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc4eb7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 78, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 78, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc4eb7; background: linear-gradient(135deg, #cc4eb7, #CC4E63);