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