Skip to content

#ff4d52

a light, electric red · warm · closest name: crimson

RGB
255, 77, 82
HSL
358°, 100%, 65%
CMYK
0, 70, 68, 0
Luminance
0.2718

Every format

HEX#ff4d52
RGBrgb(255, 77, 82)
HSLhsl(358, 100%, 65%)
CMYKcmyk(0%, 70%, 68%, 0%)
LABlab(59.1 67.0 36.9)
LCHlch(59.1 76.5 28.8)
OKLCHoklch(0.674 0.214 23.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4d52 on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#ff4d52 on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green30.2%
Blue32.2%

CMYK percentages

Cyan0.0%
Magenta69.8%
Yellow67.8%
Key (black)0.0%

Color previews

#ff4d52 text on a black background

contrast 6.44:1

Card sample

#ff4d52 text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 77, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 77, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff4d52;
background: linear-gradient(135deg, #ff4d52, #FFBF4D);

Monochromatic scale

Palettes built from #ff4d52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4d52 in the Color Lab