Skip to content

#f654df

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

RGB
246, 84, 223
HSL
309°, 90%, 65%
CMYK
0, 66, 9, 4
Luminance
0.3126

Every format

HEX#f654df
RGBrgb(246, 84, 223)
HSLhsl(309, 90%, 65%)
CMYKcmyk(0%, 66%, 9%, 4%)
LABlab(62.7 76.0 -39.3)
LCHlch(62.7 85.6 332.7)
OKLCHoklch(0.711 0.245 334.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f654df on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#f654df on black: 7.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green32.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta65.9%
Yellow9.3%
Key (black)3.5%

Color previews

#f654df text on a black background

contrast 7.25:1

Card sample

#f654df text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(246, 84, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(246, 84, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f654df;
background: linear-gradient(135deg, #f654df, #F65473);

Monochromatic scale

Palettes built from #f654df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f654df in the Color Lab