Skip to content

#f26df0

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

RGB
242, 109, 240
HSL
301°, 84%, 69%
CMYK
0, 55, 1, 5
Luminance
0.3611

Every format

HEX#f26df0
RGBrgb(242, 109, 240)
HSLhsl(301, 84%, 69%)
CMYKcmyk(0%, 55%, 1%, 5%)
LABlab(66.6 67.6 -42.7)
LCHlch(66.6 80.0 327.7)
OKLCHoklch(0.740 0.222 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f26df0 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#f26df0 on black: 8.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green42.7%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta55.0%
Yellow0.8%
Key (black)5.1%

Color previews

#f26df0 text on a black background

contrast 8.22:1

Card sample

#f26df0 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f26df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f26df0 in the Color Lab