Skip to content

#f56cfd

a light, electric magenta / pink · warm · closest name: violet

RGB
245, 108, 253
HSL
297°, 97%, 71%
CMYK
3, 57, 0, 1
Luminance
0.3723

Every format

HEX#f56cfd
RGBrgb(245, 108, 253)
HSLhsl(297, 97%, 71%)
CMYKcmyk(3%, 57%, 0%, 1%)
LABlab(67.5 71.0 -48.5)
LCHlch(67.5 86.0 325.7)
OKLCHoklch(0.749 0.236 325.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f56cfd on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#f56cfd on black: 8.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green42.4%
Blue99.2%

CMYK percentages

Cyan3.2%
Magenta57.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f56cfd text on a black background

contrast 8.45:1

Card sample

#f56cfd text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f56cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f56cfd in the Color Lab