Skip to content

#cd2f2d

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

RGB
205, 47, 45
HSL
1°, 64%, 49%
CMYK
0, 77, 78, 20
Luminance
0.1520

Every format

HEX#cd2f2d
RGBrgb(205, 47, 45)
HSLhsl(1, 64%, 49%)
CMYKcmyk(0%, 77%, 78%, 20%)
LABlab(45.9 60.5 40.2)
LCHlch(45.9 72.6 33.6)
OKLCHoklch(0.557 0.195 26.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2f2d on white: 5.20:1
AA ✓ pass · AA-large · AAA
Aa
#cd2f2d on black: 4.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow78.0%
Key (black)19.6%

Color previews

#cd2f2d text on a black background

contrast 4.04:1

Card sample

#cd2f2d text on a white background

contrast 5.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2f2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2f2d in the Color Lab