Skip to content

#cf2e49

a balanced, vivid red · warm · closest name: crimson

RGB
207, 46, 73
HSL
350°, 64%, 50%
CMYK
0, 78, 65, 19
Luminance
0.1570

Every format

HEX#cf2e49
RGBrgb(207, 46, 73)
HSLhsl(350, 64%, 50%)
CMYKcmyk(0%, 78%, 65%, 19%)
LABlab(46.6 62.6 24.6)
LCHlch(46.6 67.3 21.5)
OKLCHoklch(0.564 0.195 17.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2e49 on white: 5.07:1
AA ✓ pass · AA-large · AAA
Aa
#cf2e49 on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.0%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta77.8%
Yellow64.7%
Key (black)18.8%

Color previews

#cf2e49 text on a black background

contrast 4.14:1

Card sample

#cf2e49 text on a white background

contrast 5.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2e49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2e49 in the Color Lab