#ce331b
a balanced, electric red · warm · closest name: firebrick
RGB
206, 51, 27
HSL
8°, 77%, 46%
CMYK
0, 75, 87, 19
Luminance
0.1557
Every format
| HEX | #ce331b |
| RGB | rgb(206, 51, 27) |
| HSL | hsl(8, 77%, 46%) |
| CMYK | cmyk(0%, 75%, 87%, 19%) |
| LAB | lab(46.4 59.0 49.8) |
| LCH | lch(46.4 77.2 40.2) |
| OKLCH | oklch(0.561 0.195 31.7) |
Copy-ready code
/* CSS */
color: #ce331b;
background-color: #ce331b;
/* Tailwind (arbitrary) */
class="text-[#ce331b] bg-[#ce331b]"
/* SCSS */
$brand: #ce331b;
/* SwiftUI */
Color(red: 0.808, green: 0.200, blue: 0.106)
/* Android */
Color.parseColor("#ce331b")Accessibility — WCAG contrast
Aa
#ce331b on white: 5.10:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ce331b on black: 4.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green20.0%
Blue10.6%
CMYK percentages
Cyan0.0%
Magenta75.2%
Yellow86.9%
Key (black)19.2%
Color previews
#ce331b text on a black background
contrast 4.11:1
Card sample
#ce331b text on a white background
contrast 5.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce331b;
Background color
Panel with #ce331b background
background-color: #ce331b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce331b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 51, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 51, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce331b; background: linear-gradient(135deg, #ce331b, #CEAA1B);