#cc4fbc
a balanced, vivid magenta / pink · warm · closest name: orchid
RGB
204, 79, 188
HSL
308°, 55%, 56%
CMYK
0, 61, 8, 20
Luminance
0.2206
Every format
| HEX | #cc4fbc |
| RGB | rgb(204, 79, 188) |
| HSL | hsl(308, 55%, 56%) |
| CMYK | cmyk(0%, 61%, 8%, 20%) |
| LAB | lab(54.1 62.2 -33.3) |
| LCH | lch(54.1 70.6 331.8) |
| OKLCH | oklch(0.630 0.201 333.0) |
Copy-ready code
/* CSS */
color: #cc4fbc;
background-color: #cc4fbc;
/* Tailwind (arbitrary) */
class="text-[#cc4fbc] bg-[#cc4fbc]"
/* SCSS */
$brand: #cc4fbc;
/* SwiftUI */
Color(red: 0.800, green: 0.310, blue: 0.737)
/* Android */
Color.parseColor("#cc4fbc")Accessibility — WCAG contrast
Aa
#cc4fbc on white: 3.88:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc4fbc on black: 5.41:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green31.0%
Blue73.7%
CMYK percentages
Cyan0.0%
Magenta61.3%
Yellow7.8%
Key (black)20.0%
Color previews
#cc4fbc text on a black background
contrast 5.41:1
Card sample
#cc4fbc text on a white background
contrast 3.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc4fbc;
Background color
Panel with #cc4fbc background
background-color: #cc4fbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc4fbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 79, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 79, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc4fbc; background: linear-gradient(135deg, #cc4fbc, #CC4F69);