Skip to content

#cd2f4a

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

RGB
205, 47, 74
HSL
350°, 63%, 49%
CMYK
0, 77, 64, 20
Luminance
0.1551

Every format

HEX#cd2f4a
RGBrgb(205, 47, 74)
HSLhsl(350, 63%, 49%)
CMYKcmyk(0%, 77%, 64%, 20%)
LABlab(46.3 61.8 23.6)
LCHlch(46.3 66.1 20.9)
OKLCHoklch(0.561 0.193 17.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2f4a on white: 5.12:1
AA ✓ pass · AA-large · AAA
Aa
#cd2f4a on black: 4.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue29.0%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow63.9%
Key (black)19.6%

Color previews

#cd2f4a text on a black background

contrast 4.10:1

Card sample

#cd2f4a text on a white background

contrast 5.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2f4a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2f4a in the Color Lab