Skip to content

#ff2977

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

RGB
255, 41, 119
HSL
338°, 100%, 58%
CMYK
0, 84, 53, 0
Luminance
0.2418

Every format

HEX#ff2977
RGBrgb(255, 41, 119)
HSLhsl(338, 100%, 58%)
CMYKcmyk(0%, 84%, 53%, 0%)
LABlab(56.3 79.2 11.4)
LCHlch(56.3 80.1 8.2)
OKLCHoklch(0.655 0.244 6.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2977 on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#ff2977 on black: 5.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green16.1%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta83.9%
Yellow53.3%
Key (black)0.0%

Color previews

#ff2977 text on a black background

contrast 5.84:1

Card sample

#ff2977 text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2977

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2977 in the Color Lab