#fd5151
a light, electric red · warm · closest name: tomato
RGB
253, 81, 81
HSL
0°, 98%, 66%
CMYK
0, 68, 68, 1
Luminance
0.2736
Every format
| HEX | #fd5151 |
| RGB | rgb(253, 81, 81) |
| HSL | hsl(0, 98%, 66%) |
| CMYK | cmyk(0%, 68%, 68%, 1%) |
| LAB | lab(59.3 64.9 37.6) |
| LCH | lch(59.3 75.0 30.1) |
| OKLCH | oklch(0.674 0.208 24.7) |
Copy-ready code
/* CSS */
color: #fd5151;
background-color: #fd5151;
/* Tailwind (arbitrary) */
class="text-[#fd5151] bg-[#fd5151]"
/* SCSS */
$brand: #fd5151;
/* SwiftUI */
Color(red: 0.992, green: 0.318, blue: 0.318)
/* Android */
Color.parseColor("#fd5151")Accessibility — WCAG contrast
Aa
#fd5151 on white: 3.24:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#fd5151 on black: 6.47:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green31.8%
Blue31.8%
CMYK percentages
Cyan0.0%
Magenta68.0%
Yellow68.0%
Key (black)0.8%
Color previews
#fd5151 text on a black background
contrast 6.47:1
Card sample
#fd5151 text on a white background
contrast 3.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fd5151;
Background color
Panel with #fd5151 background
background-color: #fd5151;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fd5151;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 81, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 81, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fd5151; background: linear-gradient(135deg, #fd5151, #FDC451);