Skip to content

#cd2e4f

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

RGB
205, 46, 79
HSL
348°, 63%, 49%
CMYK
0, 78, 62, 20
Luminance
0.1550

Every format

HEX#cd2e4f
RGBrgb(205, 46, 79)
HSLhsl(348, 63%, 49%)
CMYKcmyk(0%, 78%, 62%, 20%)
LABlab(46.3 62.4 20.5)
LCHlch(46.3 65.7 18.2)
OKLCHoklch(0.562 0.194 15.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green18.0%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta77.6%
Yellow61.5%
Key (black)19.6%

Color previews

#cd2e4f text on a black background

contrast 4.10:1

Card sample

#cd2e4f text on a white background

contrast 5.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2e4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2e4f in the Color Lab