#af3b30
a dark, vivid red · warm · closest name: firebrick
RGB
175, 59, 48
HSL
5°, 57%, 44%
CMYK
0, 66, 73, 31
Luminance
0.1246
Every format
| HEX | #af3b30 |
| RGB | rgb(175, 59, 48) |
| HSL | hsl(5, 57%, 44%) |
| CMYK | cmyk(0%, 66%, 73%, 31%) |
| LAB | lab(41.9 46.6 32.5) |
| LCH | lch(41.9 56.8 34.9) |
| OKLCH | oklch(0.517 0.153 28.8) |
Copy-ready code
/* CSS */
color: #af3b30;
background-color: #af3b30;
/* Tailwind (arbitrary) */
class="text-[#af3b30] bg-[#af3b30]"
/* SCSS */
$brand: #af3b30;
/* SwiftUI */
Color(red: 0.686, green: 0.231, blue: 0.188)
/* Android */
Color.parseColor("#af3b30")Accessibility — WCAG contrast
Aa
#af3b30 on white: 6.02:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af3b30 on black: 3.49:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green23.1%
Blue18.8%
CMYK percentages
Cyan0.0%
Magenta66.3%
Yellow72.6%
Key (black)31.4%
Color previews
#af3b30 text on a black background
contrast 3.49:1
Card sample
#af3b30 text on a white background
contrast 6.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af3b30;
Background color
Panel with #af3b30 background
background-color: #af3b30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af3b30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 59, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 59, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af3b30; background: linear-gradient(135deg, #af3b30, #AF9030);