Skip to content

#ff2971

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

RGB
255, 41, 113
HSL
340°, 100%, 58%
CMYK
0, 84, 56, 0
Luminance
0.2404

Every format

HEX#ff2971
RGBrgb(255, 41, 113)
HSLhsl(340, 100%, 58%)
CMYKcmyk(0%, 84%, 56%, 0%)
LABlab(56.1 78.8 14.8)
LCHlch(56.1 80.2 10.6)
OKLCHoklch(0.653 0.243 8.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2971 on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#ff2971 on black: 5.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green16.1%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta83.9%
Yellow55.7%
Key (black)0.0%

Color previews

#ff2971 text on a black background

contrast 5.81:1

Card sample

#ff2971 text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2971

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2971 in the Color Lab