#ba3ccf
a balanced, vivid magenta / pink · warm · closest name: orchid
RGB
186, 60, 207
HSL
291°, 61%, 52%
CMYK
10, 71, 0, 19
Luminance
0.1818
Every format
| HEX | #ba3ccf |
| RGB | rgb(186, 60, 207) |
| HSL | hsl(291, 61%, 52%) |
| CMYK | cmyk(10%, 71%, 0%, 19%) |
| LAB | lab(49.7 68.6 -51.4) |
| LCH | lch(49.7 85.7 323.2) |
| OKLCH | oklch(0.597 0.231 321.6) |
Copy-ready code
/* CSS */
color: #ba3ccf;
background-color: #ba3ccf;
/* Tailwind (arbitrary) */
class="text-[#ba3ccf] bg-[#ba3ccf]"
/* SCSS */
$brand: #ba3ccf;
/* SwiftUI */
Color(red: 0.729, green: 0.235, blue: 0.812)
/* Android */
Color.parseColor("#ba3ccf")Accessibility — WCAG contrast
Aa
#ba3ccf on white: 4.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ba3ccf on black: 4.64:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green23.5%
Blue81.2%
CMYK percentages
Cyan10.1%
Magenta71.0%
Yellow0.0%
Key (black)18.8%
Color previews
#ba3ccf text on a black background
contrast 4.64:1
Card sample
#ba3ccf text on a white background
contrast 4.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba3ccf;
Background color
Panel with #ba3ccf background
background-color: #ba3ccf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba3ccf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 60, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 60, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba3ccf; background: linear-gradient(135deg, #ba3ccf, #CF3C82);