Skip to content

#ff4d82

a light, electric magenta / pink · warm · closest name: crimson

RGB
255, 77, 130
HSL
342°, 100%, 65%
CMYK
0, 70, 49, 0
Luminance
0.2818

Every format

HEX#ff4d82
RGBrgb(255, 77, 130)
HSLhsl(342, 100%, 65%)
CMYKcmyk(0%, 70%, 49%, 0%)
LABlab(60.1 70.1 10.3)
LCHlch(60.1 70.9 8.3)
OKLCHoklch(0.683 0.215 7.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4d82 on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#ff4d82 on black: 6.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green30.2%
Blue51.0%

CMYK percentages

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

Color previews

#ff4d82 text on a black background

contrast 6.64:1

Card sample

#ff4d82 text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4d82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4d82 in the Color Lab