Skip to content

#ff20b3

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

RGB
255, 32, 179
HSL
320°, 100%, 56%
CMYK
0, 88, 30, 0
Luminance
0.2555

Every format

HEX#ff20b3
RGBrgb(255, 32, 179)
HSLhsl(320, 100%, 56%)
CMYKcmyk(0%, 88%, 30%, 0%)
LABlab(57.6 86.1 -22.0)
LCHlch(57.6 88.8 345.7)
OKLCHoklch(0.670 0.270 347.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff20b3 on white: 3.44:1
AA ✗ fail · AA-large · AAA
Aa
#ff20b3 on black: 6.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green12.5%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta87.5%
Yellow29.8%
Key (black)0.0%

Color previews

#ff20b3 text on a black background

contrast 6.11:1

Card sample

#ff20b3 text on a white background

contrast 3.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff20b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff20b3 in the Color Lab