Skip to content

#cc0f39

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

RGB
204, 15, 57
HSL
347°, 86%, 43%
CMYK
0, 93, 72, 20
Luminance
0.1347

Every format

HEX#cc0f39
RGBrgb(204, 15, 57)
HSLhsl(347, 86%, 43%)
CMYKcmyk(0%, 93%, 72%, 20%)
LABlab(43.5 67.4 30.4)
LCHlch(43.5 74.0 24.3)
OKLCHoklch(0.539 0.211 19.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green5.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta92.6%
Yellow72.1%
Key (black)20.0%

Color previews

#cc0f39 text on a black background

contrast 3.69:1

Card sample

#cc0f39 text on a white background

contrast 5.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc0f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc0f39 in the Color Lab