#c1237c
a dark, vivid magenta / pink · warm · closest name: purple
RGB
193, 35, 124
HSL
326°, 69%, 45%
CMYK
0, 82, 36, 24
Luminance
0.1399
Every format
| HEX | #c1237c |
| RGB | rgb(193, 35, 124) |
| HSL | hsl(326, 69%, 45%) |
| CMYK | cmyk(0%, 82%, 36%, 24%) |
| LAB | lab(44.2 65.9 -10.6) |
| LCH | lch(44.2 66.8 350.9) |
| OKLCH | oklch(0.546 0.204 352.3) |
Copy-ready code
/* CSS */
color: #c1237c;
background-color: #c1237c;
/* Tailwind (arbitrary) */
class="text-[#c1237c] bg-[#c1237c]"
/* SCSS */
$brand: #c1237c;
/* SwiftUI */
Color(red: 0.757, green: 0.137, blue: 0.486)
/* Android */
Color.parseColor("#c1237c")Accessibility — WCAG contrast
Aa
#c1237c on white: 5.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c1237c on black: 3.80:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green13.7%
Blue48.6%
CMYK percentages
Cyan0.0%
Magenta81.9%
Yellow35.8%
Key (black)24.3%
Color previews
#c1237c text on a black background
contrast 3.80:1
Card sample
#c1237c text on a white background
contrast 5.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c1237c;
Background color
Panel with #c1237c background
background-color: #c1237c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c1237c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 35, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 35, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c1237c; background: linear-gradient(135deg, #c1237c, #C13323);