Skip to content

#ff45af

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

RGB
255, 69, 175
HSL
326°, 100%, 64%
CMYK
0, 73, 31, 0
Luminance
0.2861

Every format

HEX#ff45af
RGBrgb(255, 69, 175)
HSLhsl(326, 100%, 64%)
CMYKcmyk(0%, 73%, 31%, 0%)
LABlab(60.4 77.1 -15.4)
LCHlch(60.4 78.6 348.7)
OKLCHoklch(0.691 0.239 350.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff45af on white: 3.12:1
AA ✗ fail · AA-large · AAA
Aa
#ff45af on black: 6.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green27.1%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta72.9%
Yellow31.4%
Key (black)0.0%

Color previews

#ff45af text on a black background

contrast 6.72:1

Card sample

#ff45af text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff45af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff45af in the Color Lab