Skip to content

#d02f49

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

RGB
208, 47, 73
HSL
350°, 63%, 50%
CMYK
0, 77, 65, 18
Luminance
0.1592

Every format

HEX#d02f49
RGBrgb(208, 47, 73)
HSLhsl(350, 63%, 50%)
CMYKcmyk(0%, 77%, 65%, 18%)
LABlab(46.9 62.6 25.0)
LCHlch(46.9 67.4 21.8)
OKLCHoklch(0.567 0.196 17.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d02f49 on white: 5.02:1
AA ✓ pass · AA-large · AAA
Aa
#d02f49 on black: 4.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green18.4%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta77.4%
Yellow64.9%
Key (black)18.4%

Color previews

#d02f49 text on a black background

contrast 4.18:1

Card sample

#d02f49 text on a white background

contrast 5.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d02f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d02f49 in the Color Lab