Skip to content

#f26cbd

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

RGB
242, 108, 189
HSL
324°, 84%, 69%
CMYK
0, 55, 22, 5
Luminance
0.3328

Every format

HEX#f26cbd
RGBrgb(242, 108, 189)
HSLhsl(324, 84%, 69%)
CMYKcmyk(0%, 55%, 22%, 5%)
LABlab(64.4 60.3 -17.6)
LCHlch(64.4 62.8 343.7)
OKLCHoklch(0.717 0.187 345.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f26cbd on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#f26cbd on black: 7.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green42.4%
Blue74.1%

CMYK percentages

Cyan0.0%
Magenta55.4%
Yellow21.9%
Key (black)5.1%

Color previews

#f26cbd text on a black background

contrast 7.66:1

Card sample

#f26cbd text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f26cbd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f26cbd in the Color Lab