#b40bdf
a balanced, electric violet · warm · closest name: magenta
RGB
180, 11, 223
HSL
288°, 91%, 46%
CMYK
19, 95, 0, 13
Luminance
0.1527
Every format
| HEX | #b40bdf |
| RGB | rgb(180, 11, 223) |
| HSL | hsl(288, 91%, 46%) |
| CMYK | cmyk(19%, 95%, 0%, 13%) |
| LAB | lab(46.0 81.5 -66.6) |
| LCH | lch(46.0 105.2 320.8) |
| OKLCH | oklch(0.572 0.275 316.8) |
Copy-ready code
/* CSS */
color: #b40bdf;
background-color: #b40bdf;
/* Tailwind (arbitrary) */
class="text-[#b40bdf] bg-[#b40bdf]"
/* SCSS */
$brand: #b40bdf;
/* SwiftUI */
Color(red: 0.706, green: 0.043, blue: 0.875)
/* Android */
Color.parseColor("#b40bdf")Accessibility — WCAG contrast
Aa
#b40bdf on white: 5.18:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b40bdf on black: 4.05:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green4.3%
Blue87.5%
CMYK percentages
Cyan19.3%
Magenta95.1%
Yellow0.0%
Key (black)12.5%
Color previews
#b40bdf text on a black background
contrast 4.05:1
Card sample
#b40bdf text on a white background
contrast 5.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b40bdf;
Background color
Panel with #b40bdf background
background-color: #b40bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b40bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 11, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 11, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b40bdf; background: linear-gradient(135deg, #b40bdf, #DF0B7D);