#cd2fab
a balanced, vivid magenta / pink · warm · closest name: orchid
RGB
205, 47, 171
HSL
313°, 63%, 49%
CMYK
0, 77, 17, 20
Luminance
0.1795
Every format
| HEX | #cd2fab |
| RGB | rgb(205, 47, 171) |
| HSL | hsl(313, 63%, 49%) |
| CMYK | cmyk(0%, 77%, 17%, 20%) |
| LAB | lab(49.4 71.3 -30.7) |
| LCH | lch(49.4 77.6 336.7) |
| OKLCH | oklch(0.594 0.227 338.5) |
Copy-ready code
/* CSS */
color: #cd2fab;
background-color: #cd2fab;
/* Tailwind (arbitrary) */
class="text-[#cd2fab] bg-[#cd2fab]"
/* SCSS */
$brand: #cd2fab;
/* SwiftUI */
Color(red: 0.804, green: 0.184, blue: 0.671)
/* Android */
Color.parseColor("#cd2fab")Accessibility — WCAG contrast
Aa
#cd2fab on white: 4.57:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cd2fab on black: 4.59:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green18.4%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta77.1%
Yellow16.6%
Key (black)19.6%
Color previews
#cd2fab text on a black background
contrast 4.59:1
Card sample
#cd2fab text on a white background
contrast 4.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd2fab;
Background color
Panel with #cd2fab background
background-color: #cd2fab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd2fab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 47, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 47, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd2fab; background: linear-gradient(135deg, #cd2fab, #CD2F42);