Skip to content

#cb0f49

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

RGB
203, 15, 73
HSL
342°, 86%, 43%
CMYK
0, 93, 64, 20
Luminance
0.1352

Every format

HEX#cb0f49
RGBrgb(203, 15, 73)
HSLhsl(342, 86%, 43%)
CMYKcmyk(0%, 93%, 64%, 20%)
LABlab(43.5 68.0 20.5)
LCHlch(43.5 71.0 16.8)
OKLCHoklch(0.540 0.210 13.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green5.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta92.6%
Yellow64.0%
Key (black)20.4%

Color previews

#cb0f49 text on a black background

contrast 3.70:1

Card sample

#cb0f49 text on a white background

contrast 5.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb0f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb0f49 in the Color Lab