Skip to content

#f86dec

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

RGB
248, 109, 236
HSL
305°, 91%, 70%
CMYK
0, 56, 5, 3
Luminance
0.3695

Every format

HEX#f86dec
RGBrgb(248, 109, 236)
HSLhsl(305, 91%, 70%)
CMYKcmyk(0%, 56%, 5%, 3%)
LABlab(67.2 68.5 -39.4)
LCHlch(67.2 79.0 330.1)
OKLCHoklch(0.746 0.223 331.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f86dec on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#f86dec on black: 8.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green42.7%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta56.0%
Yellow4.8%
Key (black)2.7%

Color previews

#f86dec text on a black background

contrast 8.39:1

Card sample

#f86dec text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f86dec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f86dec in the Color Lab