Skip to content

#ff2eaf

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

RGB
255, 46, 175
HSL
323°, 100%, 59%
CMYK
0, 82, 31, 0
Luminance
0.2631

Every format

HEX#ff2eaf
RGBrgb(255, 46, 175)
HSLhsl(323, 100%, 59%)
CMYKcmyk(0%, 82%, 31%, 0%)
LABlab(58.3 83.1 -18.6)
LCHlch(58.3 85.2 347.4)
OKLCHoklch(0.675 0.259 349.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2eaf on white: 3.35:1
AA ✗ fail · AA-large · AAA
Aa
#ff2eaf on black: 6.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green18.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta82.0%
Yellow31.4%
Key (black)0.0%

Color previews

#ff2eaf text on a black background

contrast 6.26:1

Card sample

#ff2eaf text on a white background

contrast 3.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2eaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2eaf in the Color Lab