Skip to content

#f26df9

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

RGB
242, 109, 249
HSL
297°, 92%, 70%
CMYK
3, 56, 0, 2
Luminance
0.3665

Every format

HEX#f26df9
RGBrgb(242, 109, 249)
HSLhsl(297, 92%, 70%)
CMYKcmyk(3%, 56%, 0%, 2%)
LABlab(67.0 69.1 -47.0)
LCHlch(67.0 83.6 325.8)
OKLCHoklch(0.745 0.230 325.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f26df9 on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#f26df9 on black: 8.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green42.7%
Blue97.6%

CMYK percentages

Cyan2.8%
Magenta56.2%
Yellow0.0%
Key (black)2.4%

Color previews

#f26df9 text on a black background

contrast 8.33:1

Card sample

#f26df9 text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f26df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f26df9 in the Color Lab