#af2149
a dark, vivid magenta / pink · warm · closest name: firebrick
RGB
175, 33, 73
HSL
343°, 68%, 41%
CMYK
0, 81, 58, 31
Luminance
0.1068
Every format
| HEX | #af2149 |
| RGB | rgb(175, 33, 73) |
| HSL | hsl(343, 68%, 41%) |
| CMYK | cmyk(0%, 81%, 58%, 31%) |
| LAB | lab(39.0 57.3 13.5) |
| LCH | lch(39.0 58.8 13.3) |
| OKLCH | oklch(0.497 0.177 11.0) |
Copy-ready code
/* CSS */
color: #af2149;
background-color: #af2149;
/* Tailwind (arbitrary) */
class="text-[#af2149] bg-[#af2149]"
/* SCSS */
$brand: #af2149;
/* SwiftUI */
Color(red: 0.686, green: 0.129, blue: 0.286)
/* Android */
Color.parseColor("#af2149")Accessibility — WCAG contrast
Aa
#af2149 on white: 6.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af2149 on black: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green12.9%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta81.1%
Yellow58.3%
Key (black)31.4%
Color previews
#af2149 text on a black background
contrast 3.14:1
Card sample
#af2149 text on a white background
contrast 6.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af2149;
Background color
Panel with #af2149 background
background-color: #af2149;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af2149;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 33, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 33, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af2149; background: linear-gradient(135deg, #af2149, #AF5821);