Skip to content

#f56df8

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

RGB
245, 109, 248
HSL
299°, 91%, 70%
CMYK
1, 56, 0, 3
Luminance
0.3713

Every format

HEX#f56df8
RGBrgb(245, 109, 248)
HSLhsl(299, 91%, 70%)
CMYKcmyk(1%, 56%, 0%, 3%)
LABlab(67.4 69.7 -45.9)
LCHlch(67.4 83.4 326.7)
OKLCHoklch(0.748 0.231 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green42.7%
Blue97.3%

CMYK percentages

Cyan1.2%
Magenta56.0%
Yellow0.0%
Key (black)2.7%

Color previews

#f56df8 text on a black background

contrast 8.43:1

Card sample

#f56df8 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f56df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f56df8 in the Color Lab