Skip to content

#f64cdc

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

RGB
246, 76, 220
HSL
309°, 90%, 63%
CMYK
0, 69, 11, 4
Luminance
0.2993

Every format

HEX#f64cdc
RGBrgb(246, 76, 220)
HSLhsl(309, 90%, 63%)
CMYKcmyk(0%, 69%, 11%, 4%)
LABlab(61.6 78.4 -39.4)
LCHlch(61.6 87.7 333.3)
OKLCHoklch(0.702 0.252 334.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f64cdc on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#f64cdc on black: 6.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green29.8%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta69.1%
Yellow10.6%
Key (black)3.5%

Color previews

#f64cdc text on a black background

contrast 6.99:1

Card sample

#f64cdc text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f64cdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f64cdc in the Color Lab