#ba3f45
a balanced, vivid red · warm · closest name: firebrick
RGB
186, 63, 69
HSL
357°, 49%, 49%
CMYK
0, 66, 63, 27
Luminance
0.1442
Every format
| HEX | #ba3f45 |
| RGB | rgb(186, 63, 69) |
| HSL | hsl(357, 49%, 49%) |
| CMYK | cmyk(0%, 66%, 63%, 27%) |
| LAB | lab(44.8 49.8 24.0) |
| LCH | lch(44.8 55.3 25.8) |
| OKLCH | oklch(0.544 0.158 21.4) |
Copy-ready code
/* CSS */
color: #ba3f45;
background-color: #ba3f45;
/* Tailwind (arbitrary) */
class="text-[#ba3f45] bg-[#ba3f45]"
/* SCSS */
$brand: #ba3f45;
/* SwiftUI */
Color(red: 0.729, green: 0.247, blue: 0.271)
/* Android */
Color.parseColor("#ba3f45")Accessibility — WCAG contrast
Aa
#ba3f45 on white: 5.41:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ba3f45 on black: 3.88:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green24.7%
Blue27.1%
CMYK percentages
Cyan0.0%
Magenta66.1%
Yellow62.9%
Key (black)27.1%
Color previews
#ba3f45 text on a black background
contrast 3.88:1
Card sample
#ba3f45 text on a white background
contrast 5.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba3f45;
Background color
Panel with #ba3f45 background
background-color: #ba3f45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba3f45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 63, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 63, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba3f45; background: linear-gradient(135deg, #ba3f45, #BA8B3F);