Skip to content

#ce0f0f

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

RGB
206, 15, 15
HSL
0°, 86%, 43%
CMYK
0, 93, 93, 19
Luminance
0.1350

Every format

HEX#ce0f0f
RGBrgb(206, 15, 15)
HSLhsl(0, 86%, 43%)
CMYKcmyk(0%, 93%, 93%, 19%)
LABlab(43.5 66.9 52.6)
LCHlch(43.5 85.1 38.2)
OKLCHoklch(0.539 0.215 28.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce0f0f on white: 5.68:1
AA ✓ pass · AA-large · AAA
Aa
#ce0f0f on black: 3.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green5.9%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta92.7%
Yellow92.7%
Key (black)19.2%

Color previews

#ce0f0f text on a black background

contrast 3.70:1

Card sample

#ce0f0f text on a white background

contrast 5.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce0f0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce0f0f in the Color Lab