#b413af
a dark, electric magenta / pink · warm · closest name: purple
RGB
180, 19, 175
HSL
302°, 81%, 39%
CMYK
0, 89, 3, 29
Luminance
0.1326
Every format
| HEX | #b413af |
| RGB | rgb(180, 19, 175) |
| HSL | hsl(302, 81%, 39%) |
| CMYK | cmyk(0%, 89%, 3%, 29%) |
| LAB | lab(43.2 72.8 -43.2) |
| LCH | lch(43.2 84.7 329.3) |
| OKLCH | oklch(0.542 0.238 329.8) |
Copy-ready code
/* CSS */
color: #b413af;
background-color: #b413af;
/* Tailwind (arbitrary) */
class="text-[#b413af] bg-[#b413af]"
/* SCSS */
$brand: #b413af;
/* SwiftUI */
Color(red: 0.706, green: 0.075, blue: 0.686)
/* Android */
Color.parseColor("#b413af")Accessibility — WCAG contrast
Aa
#b413af on white: 5.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b413af on black: 3.65:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green7.5%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta89.4%
Yellow2.8%
Key (black)29.4%
Color previews
#b413af text on a black background
contrast 3.65:1
Card sample
#b413af text on a white background
contrast 5.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b413af;
Background color
Panel with #b413af background
background-color: #b413af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b413af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 19, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 19, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b413af; background: linear-gradient(135deg, #b413af, #B41344);