Skip to content

#ff27fd

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

RGB
255, 39, 253
HSL
301°, 100%, 58%
CMYK
0, 85, 1, 0
Luminance
0.2980

Every format

HEX#ff27fd
RGBrgb(255, 39, 253)
HSLhsl(301, 100%, 58%)
CMYKcmyk(0%, 85%, 1%, 0%)
LABlab(61.5 94.2 -57.9)
LCHlch(61.5 110.5 328.4)
OKLCHoklch(0.710 0.309 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff27fd on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#ff27fd on black: 6.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green15.3%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta84.7%
Yellow0.8%
Key (black)0.0%

Color previews

#ff27fd text on a black background

contrast 6.96:1

Card sample

#ff27fd text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff27fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff27fd in the Color Lab