Skip to content

#f09cf0

a light, vivid magenta / pink · warm · closest name: plum

RGB
240, 156, 240
HSL
300°, 74%, 78%
CMYK
0, 35, 0, 6
Luminance
0.4859

Every format

HEX#f09cf0
RGBrgb(240, 156, 240)
HSLhsl(300, 74%, 78%)
CMYKcmyk(0%, 35%, 0%, 6%)
LABlab(75.2 44.1 -29.4)
LCHlch(75.2 53.0 326.3)
OKLCHoklch(0.804 0.146 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f09cf0 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#f09cf0 on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green61.2%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta35.0%
Yellow0.0%
Key (black)5.9%

Color previews

#f09cf0 text on a black background

contrast 10.72:1

Card sample

#f09cf0 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f09cf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f09cf0 in the Color Lab