#ba628f
a balanced, soft magenta / pink · warm · closest name: plum
RGB
186, 98, 143
HSL
329°, 39%, 56%
CMYK
0, 47, 23, 27
Luminance
0.2116
Every format
| HEX | #ba628f |
| RGB | rgb(186, 98, 143) |
| HSL | hsl(329, 39%, 56%) |
| CMYK | cmyk(0%, 47%, 23%, 27%) |
| LAB | lab(53.1 40.9 -8.8) |
| LCH | lch(53.1 41.8 347.9) |
| OKLCH | oklch(0.612 0.125 349.5) |
Copy-ready code
/* CSS */
color: #ba628f;
background-color: #ba628f;
/* Tailwind (arbitrary) */
class="text-[#ba628f] bg-[#ba628f]"
/* SCSS */
$brand: #ba628f;
/* SwiftUI */
Color(red: 0.729, green: 0.384, blue: 0.561)
/* Android */
Color.parseColor("#ba628f")Accessibility — WCAG contrast
Aa
#ba628f on white: 4.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ba628f on black: 5.23:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green38.4%
Blue56.1%
CMYK percentages
Cyan0.0%
Magenta47.3%
Yellow23.1%
Key (black)27.1%
Color previews
#ba628f text on a black background
contrast 5.23:1
Card sample
#ba628f text on a white background
contrast 4.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba628f;
Background color
Panel with #ba628f background
background-color: #ba628f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba628f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 98, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 98, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba628f; background: linear-gradient(135deg, #ba628f, #BA7062);