#af4049
a balanced, vivid red · warm · closest name: firebrick
RGB
175, 64, 73
HSL
355°, 46%, 47%
CMYK
0, 63, 58, 31
Luminance
0.1326
Every format
| HEX | #af4049 |
| RGB | rgb(175, 64, 73) |
| HSL | hsl(355, 46%, 47%) |
| CMYK | cmyk(0%, 63%, 58%, 31%) |
| LAB | lab(43.2 45.9 19.0) |
| LCH | lch(43.2 49.7 22.5) |
| OKLCH | oklch(0.528 0.145 18.8) |
Copy-ready code
/* CSS */
color: #af4049;
background-color: #af4049;
/* Tailwind (arbitrary) */
class="text-[#af4049] bg-[#af4049]"
/* SCSS */
$brand: #af4049;
/* SwiftUI */
Color(red: 0.686, green: 0.251, blue: 0.286)
/* Android */
Color.parseColor("#af4049")Accessibility — WCAG contrast
Aa
#af4049 on white: 5.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af4049 on black: 3.65:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green25.1%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta63.4%
Yellow58.3%
Key (black)31.4%
Color previews
#af4049 text on a black background
contrast 3.65:1
Card sample
#af4049 text on a white background
contrast 5.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af4049;
Background color
Panel with #af4049 background
background-color: #af4049;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af4049;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 64, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 64, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af4049; background: linear-gradient(135deg, #af4049, #AF8140);