#eb310f
a balanced, electric red · warm · closest name: red
RGB
235, 49, 15
HSL
9°, 88%, 49%
CMYK
0, 79, 94, 8
Luminance
0.1989
Every format
| HEX | #eb310f |
| RGB | rgb(235, 49, 15) |
| HSL | hsl(9, 88%, 49%) |
| CMYK | cmyk(0%, 79%, 94%, 8%) |
| LAB | lab(51.7 68.0 60.5) |
| LCH | lch(51.7 91.0 41.7) |
| OKLCH | oklch(0.610 0.224 32.0) |
Copy-ready code
/* CSS */
color: #eb310f;
background-color: #eb310f;
/* Tailwind (arbitrary) */
class="text-[#eb310f] bg-[#eb310f]"
/* SCSS */
$brand: #eb310f;
/* SwiftUI */
Color(red: 0.922, green: 0.192, blue: 0.059)
/* Android */
Color.parseColor("#eb310f")Accessibility — WCAG contrast
Aa
#eb310f on white: 4.22:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#eb310f on black: 4.98:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green19.2%
Blue5.9%
CMYK percentages
Cyan0.0%
Magenta79.1%
Yellow93.6%
Key (black)7.8%
Color previews
#eb310f text on a black background
contrast 4.98:1
Card sample
#eb310f text on a white background
contrast 4.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eb310f;
Background color
Panel with #eb310f background
background-color: #eb310f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eb310f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 49, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 49, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb310f; background: linear-gradient(135deg, #eb310f, #EBC40F);