#ff0c13
a balanced, electric red · warm · closest name: red
RGB
255, 12, 19
HSL
358°, 100%, 52%
CMYK
0, 95, 93, 0
Luminance
0.2157
Every format
| HEX | #ff0c13 |
| RGB | rgb(255, 12, 19) |
| HSL | hsl(358, 100%, 52%) |
| CMYK | cmyk(0%, 95%, 93%, 0%) |
| LAB | lab(53.6 79.4 62.4) |
| LCH | lch(53.6 101.0 38.2) |
| OKLCH | oklch(0.631 0.255 28.4) |
Copy-ready code
/* CSS */
color: #ff0c13;
background-color: #ff0c13;
/* Tailwind (arbitrary) */
class="text-[#ff0c13] bg-[#ff0c13]"
/* SCSS */
$brand: #ff0c13;
/* SwiftUI */
Color(red: 1.000, green: 0.047, blue: 0.075)
/* Android */
Color.parseColor("#ff0c13")Accessibility — WCAG contrast
Aa
#ff0c13 on white: 3.95:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ff0c13 on black: 5.31:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green4.7%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta95.3%
Yellow92.5%
Key (black)0.0%
Color previews
#ff0c13 text on a black background
contrast 5.31:1
Card sample
#ff0c13 text on a white background
contrast 3.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff0c13;
Background color
Panel with #ff0c13 background
background-color: #ff0c13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff0c13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 12, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 12, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff0c13; background: linear-gradient(135deg, #ff0c13, #FFA70C);