Skip to content

#d02f39

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

RGB
208, 47, 57
HSL
356°, 63%, 50%
CMYK
0, 77, 73, 18
Luminance
0.1574

Every format

HEX#d02f39
RGBrgb(208, 47, 57)
HSLhsl(356, 63%, 50%)
CMYKcmyk(0%, 77%, 73%, 18%)
LABlab(46.6 61.8 34.3)
LCHlch(46.6 70.7 29.0)
OKLCHoklch(0.564 0.196 23.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d02f39 on white: 5.06:1
AA ✓ pass · AA-large · AAA
Aa
#d02f39 on black: 4.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green18.4%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta77.4%
Yellow72.6%
Key (black)18.4%

Color previews

#d02f39 text on a black background

contrast 4.15:1

Card sample

#d02f39 text on a white background

contrast 5.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d02f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d02f39 in the Color Lab