Skip to content

#cd2d4f

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

RGB
205, 45, 79
HSL
347°, 64%, 49%
CMYK
0, 78, 62, 20
Luminance
0.1542

Every format

HEX#cd2d4f
RGBrgb(205, 45, 79)
HSLhsl(347, 64%, 49%)
CMYKcmyk(0%, 78%, 62%, 20%)
LABlab(46.2 62.7 20.4)
LCHlch(46.2 65.9 18.0)
OKLCHoklch(0.561 0.194 14.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2d4f on white: 5.14:1
AA ✓ pass · AA-large · AAA
Aa
#cd2d4f on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green17.6%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta78.0%
Yellow61.5%
Key (black)19.6%

Color previews

#cd2d4f text on a black background

contrast 4.08:1

Card sample

#cd2d4f text on a white background

contrast 5.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2d4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2d4f in the Color Lab