#ca30df
a balanced, vivid magenta / pink · warm · closest name: magenta
RGB
202, 48, 223
HSL
293°, 73%, 53%
CMYK
9, 79, 0, 13
Luminance
0.2000
Every format
| HEX | #ca30df |
| RGB | rgb(202, 48, 223) |
| HSL | hsl(293, 73%, 53%) |
| CMYK | cmyk(9%, 79%, 0%, 13%) |
| LAB | lab(51.8 78.3 -57.0) |
| LCH | lch(51.8 96.8 324.0) |
| OKLCH | oklch(0.620 0.262 322.5) |
Copy-ready code
/* CSS */
color: #ca30df;
background-color: #ca30df;
/* Tailwind (arbitrary) */
class="text-[#ca30df] bg-[#ca30df]"
/* SCSS */
$brand: #ca30df;
/* SwiftUI */
Color(red: 0.792, green: 0.188, blue: 0.875)
/* Android */
Color.parseColor("#ca30df")Accessibility — WCAG contrast
Aa
#ca30df on white: 4.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ca30df on black: 5.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green18.8%
Blue87.5%
CMYK percentages
Cyan9.4%
Magenta78.5%
Yellow0.0%
Key (black)12.5%
Color previews
#ca30df text on a black background
contrast 5.00:1
Card sample
#ca30df text on a white background
contrast 4.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ca30df;
Background color
Panel with #ca30df background
background-color: #ca30df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ca30df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 48, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 48, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca30df; background: linear-gradient(135deg, #ca30df, #DF307F);