#ba1eb0
a dark, vivid magenta / pink · warm · closest name: purple
RGB
186, 30, 176
HSL
304°, 72%, 42%
CMYK
0, 84, 5, 27
Luminance
0.1450
Every format
| HEX | #ba1eb0 |
| RGB | rgb(186, 30, 176) |
| HSL | hsl(304, 72%, 42%) |
| CMYK | cmyk(0%, 84%, 5%, 27%) |
| LAB | lab(45.0 72.2 -40.9) |
| LCH | lch(45.0 83.0 330.4) |
| OKLCH | oklch(0.557 0.235 331.3) |
Copy-ready code
/* CSS */
color: #ba1eb0;
background-color: #ba1eb0;
/* Tailwind (arbitrary) */
class="text-[#ba1eb0] bg-[#ba1eb0]"
/* SCSS */
$brand: #ba1eb0;
/* SwiftUI */
Color(red: 0.729, green: 0.118, blue: 0.690)
/* Android */
Color.parseColor("#ba1eb0")Accessibility — WCAG contrast
Aa
#ba1eb0 on white: 5.38:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ba1eb0 on black: 3.90:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green11.8%
Blue69.0%
CMYK percentages
Cyan0.0%
Magenta83.9%
Yellow5.4%
Key (black)27.1%
Color previews
#ba1eb0 text on a black background
contrast 3.90:1
Card sample
#ba1eb0 text on a white background
contrast 5.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba1eb0;
Background color
Panel with #ba1eb0 background
background-color: #ba1eb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba1eb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 30, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 30, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba1eb0; background: linear-gradient(135deg, #ba1eb0, #BA1E48);