Skip to content

#f643ff

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

RGB
246, 67, 255
HSL
297°, 100%, 63%
CMYK
4, 74, 0, 0
Luminance
0.3083

Every format

HEX#f643ff
RGBrgb(246, 67, 255)
HSLhsl(297, 100%, 63%)
CMYKcmyk(4%, 74%, 0%, 0%)
LABlab(62.4 86.5 -57.6)
LCHlch(62.4 103.9 326.3)
OKLCHoklch(0.713 0.286 325.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f643ff on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#f643ff on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green26.3%
Blue100.0%

CMYK percentages

Cyan3.5%
Magenta73.7%
Yellow0.0%
Key (black)0.0%

Color previews

#f643ff text on a black background

contrast 7.17:1

Card sample

#f643ff text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f643ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f643ff in the Color Lab