Skip to content

#cd0f64

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

RGB
205, 15, 100
HSL
333°, 86%, 43%
CMYK
0, 93, 51, 20
Luminance
0.1424

Every format

HEX#cd0f64
RGBrgb(205, 15, 100)
HSLhsl(333, 86%, 43%)
CMYKcmyk(0%, 93%, 51%, 20%)
LABlab(44.6 70.2 5.1)
LCHlch(44.6 70.4 4.2)
OKLCHoklch(0.550 0.216 3.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd0f64 on white: 5.46:1
AA ✓ pass · AA-large · AAA
Aa
#cd0f64 on black: 3.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green5.9%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta92.7%
Yellow51.2%
Key (black)19.6%

Color previews

#cd0f64 text on a black background

contrast 3.85:1

Card sample

#cd0f64 text on a white background

contrast 5.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd0f64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd0f64 in the Color Lab