Skip to content

#cc0f4e

a dark, electric magenta / pink · warm · closest name: crimson

RGB
204, 15, 78
HSL
340°, 86%, 43%
CMYK
0, 93, 62, 20
Luminance
0.1373

Every format

HEX#cc0f4e
RGBrgb(204, 15, 78)
HSLhsl(340, 86%, 43%)
CMYKcmyk(0%, 93%, 62%, 20%)
LABlab(43.9 68.5 17.8)
LCHlch(43.9 70.8 14.6)
OKLCHoklch(0.543 0.211 11.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc0f4e on white: 5.61:1
AA ✓ pass · AA-large · AAA
Aa
#cc0f4e on black: 3.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green5.9%
Blue30.6%

CMYK percentages

Cyan0.0%
Magenta92.6%
Yellow61.8%
Key (black)20.0%

Color previews

#cc0f4e text on a black background

contrast 3.75:1

Card sample

#cc0f4e text on a white background

contrast 5.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc0f4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc0f4e in the Color Lab