Skip to content

#cf2d47

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

RGB
207, 45, 71
HSL
350°, 64%, 49%
CMYK
0, 78, 66, 19
Luminance
0.1560

Every format

HEX#cf2d47
RGBrgb(207, 45, 71)
HSLhsl(350, 64%, 49%)
CMYKcmyk(0%, 78%, 66%, 19%)
LABlab(46.5 62.8 25.7)
LCHlch(46.5 67.8 22.2)
OKLCHoklch(0.563 0.196 18.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2d47 on white: 5.10:1
AA ✓ pass · AA-large · AAA
Aa
#cf2d47 on black: 4.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green17.6%
Blue27.8%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow65.7%
Key (black)18.8%

Color previews

#cf2d47 text on a black background

contrast 4.12:1

Card sample

#cf2d47 text on a white background

contrast 5.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2d47

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2d47 in the Color Lab