#c8331f
a balanced, vivid red · warm · closest name: firebrick
RGB
200, 51, 31
HSL
7°, 73%, 45%
CMYK
0, 75, 85, 22
Luminance
0.1475
Every format
| HEX | #c8331f |
| RGB | rgb(200, 51, 31) |
| HSL | hsl(7, 73%, 45%) |
| CMYK | cmyk(0%, 75%, 85%, 22%) |
| LAB | lab(45.3 57.3 46.5) |
| LCH | lch(45.3 73.8 39.1) |
| OKLCH | oklch(0.550 0.189 31.1) |
Copy-ready code
/* CSS */
color: #c8331f;
background-color: #c8331f;
/* Tailwind (arbitrary) */
class="text-[#c8331f] bg-[#c8331f]"
/* SCSS */
$brand: #c8331f;
/* SwiftUI */
Color(red: 0.784, green: 0.200, blue: 0.122)
/* Android */
Color.parseColor("#c8331f")Accessibility — WCAG contrast
Aa
#c8331f on white: 5.32:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c8331f on black: 3.95:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.4%
Green20.0%
Blue12.2%
CMYK percentages
Cyan0.0%
Magenta74.5%
Yellow84.5%
Key (black)21.6%
Color previews
#c8331f text on a black background
contrast 3.95:1
Card sample
#c8331f text on a white background
contrast 5.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c8331f;
Background color
Panel with #c8331f background
background-color: #c8331f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c8331f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(200, 51, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 51, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c8331f; background: linear-gradient(135deg, #c8331f, #C8A41F);