Skip to content

#f075df

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

RGB
240, 117, 223
HSL
308°, 80%, 70%
CMYK
0, 51, 7, 6
Luminance
0.3658

Every format

HEX#f075df
RGBrgb(240, 117, 223)
HSLhsl(308, 80%, 70%)
CMYKcmyk(0%, 51%, 7%, 6%)
LABlab(67.0 60.6 -32.8)
LCHlch(67.0 68.9 331.6)
OKLCHoklch(0.740 0.195 332.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f075df on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#f075df on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green45.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta51.3%
Yellow7.1%
Key (black)5.9%

Color previews

#f075df text on a black background

contrast 8.32:1

Card sample

#f075df text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f075df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f075df in the Color Lab