Skip to content

#d02f37

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

RGB
208, 47, 55
HSL
357°, 63%, 50%
CMYK
0, 77, 74, 18
Luminance
0.1572

Every format

HEX#d02f37
RGBrgb(208, 47, 55)
HSLhsl(357, 63%, 50%)
CMYKcmyk(0%, 77%, 74%, 18%)
LABlab(46.6 61.7 35.4)
LCHlch(46.6 71.2 29.9)
OKLCHoklch(0.564 0.197 24.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d02f37 on white: 5.07:1
AA ✓ pass · AA-large · AAA
Aa
#d02f37 on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green18.4%
Blue21.6%

CMYK percentages

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

Color previews

#d02f37 text on a black background

contrast 4.14:1

Card sample

#d02f37 text on a white background

contrast 5.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d02f37

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d02f37 in the Color Lab