Skip to content

#ce2012

a dark, electric red · warm · closest name: firebrick

RGB
206, 32, 18
HSL
5°, 84%, 44%
CMYK
0, 85, 91, 19
Luminance
0.1420

Every format

HEX#ce2012
RGBrgb(206, 32, 18)
HSLhsl(5, 84%, 44%)
CMYKcmyk(0%, 85%, 91%, 19%)
LABlab(44.5 64.0 52.1)
LCHlch(44.5 82.6 39.1)
OKLCHoklch(0.546 0.208 29.9)

Copy-ready code

/* CSS */
color: #ce2012;
background-color: #ce2012;
/* Tailwind (arbitrary) */
class="text-[#ce2012] bg-[#ce2012]"
/* SCSS */
$brand: #ce2012;
/* SwiftUI */
Color(red: 0.808, green: 0.125, blue: 0.071)
/* Android */
Color.parseColor("#ce2012")

Accessibility — WCAG contrast

Aa
#ce2012 on white: 5.47:1
AA ✓ pass · AA-large · AAA
Aa
#ce2012 on black: 3.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green12.5%
Blue7.1%

CMYK percentages

Cyan0.0%
Magenta84.5%
Yellow91.3%
Key (black)19.2%

Color previews

#ce2012 text on a black background

contrast 3.84:1

Card sample

#ce2012 text on a white background

contrast 5.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ce2012;
Background color
Panel with #ce2012 background
background-color: #ce2012;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ce2012;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(206, 32, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 32, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce2012;
background: linear-gradient(135deg, #ce2012, #CE9D12);

Monochromatic scale

Palettes built from #ce2012

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2012 in the Color Lab