#ba3eb9
a balanced, vivid magenta / pink · warm · closest name: orchid
RGB
186, 62, 185
HSL
301°, 50%, 49%
CMYK
0, 67, 1, 27
Luminance
0.1739
Every format
| HEX | #ba3eb9 |
| RGB | rgb(186, 62, 185) |
| HSL | hsl(301, 50%, 49%) |
| CMYK | cmyk(0%, 67%, 1%, 27%) |
| LAB | lab(48.8 64.1 -40.2) |
| LCH | lch(48.8 75.7 327.9) |
| OKLCH | oklch(0.586 0.211 328.2) |
Copy-ready code
/* CSS */
color: #ba3eb9;
background-color: #ba3eb9;
/* Tailwind (arbitrary) */
class="text-[#ba3eb9] bg-[#ba3eb9]"
/* SCSS */
$brand: #ba3eb9;
/* SwiftUI */
Color(red: 0.729, green: 0.243, blue: 0.725)
/* Android */
Color.parseColor("#ba3eb9")Accessibility — WCAG contrast
Aa
#ba3eb9 on white: 4.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ba3eb9 on black: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green24.3%
Blue72.5%
CMYK percentages
Cyan0.0%
Magenta66.7%
Yellow0.5%
Key (black)27.1%
Color previews
#ba3eb9 text on a black background
contrast 4.48:1
Card sample
#ba3eb9 text on a white background
contrast 4.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba3eb9;
Background color
Panel with #ba3eb9 background
background-color: #ba3eb9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba3eb9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 62, 185, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 62, 185, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba3eb9; background: linear-gradient(135deg, #ba3eb9, #BA3E66);