#ff5a13
a balanced, electric orange · warm · closest name: tomato
RGB
255, 90, 19
HSL
18°, 100%, 54%
CMYK
0, 65, 93, 0
Luminance
0.2862
Every format
| HEX | #ff5a13 |
| RGB | rgb(255, 90, 19) |
| HSL | hsl(18, 100%, 54%) |
| CMYK | cmyk(0%, 65%, 93%, 0%) |
| LAB | lab(60.5 60.2 66.6) |
| LCH | lch(60.5 89.8 47.9) |
| OKLCH | oklch(0.682 0.212 38.9) |
Copy-ready code
/* CSS */
color: #ff5a13;
background-color: #ff5a13;
/* Tailwind (arbitrary) */
class="text-[#ff5a13] bg-[#ff5a13]"
/* SCSS */
$brand: #ff5a13;
/* SwiftUI */
Color(red: 1.000, green: 0.353, blue: 0.075)
/* Android */
Color.parseColor("#ff5a13")Accessibility — WCAG contrast
Aa
#ff5a13 on white: 3.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ff5a13 on black: 6.72:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green35.3%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta64.7%
Yellow92.5%
Key (black)0.0%
Color previews
#ff5a13 text on a black background
contrast 6.72:1
Card sample
#ff5a13 text on a white background
contrast 3.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff5a13;
Background color
Panel with #ff5a13 background
background-color: #ff5a13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff5a13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 90, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 90, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff5a13; background: linear-gradient(135deg, #ff5a13, #FFF813);