Skip to content

#f38df1

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

RGB
243, 141, 241
HSL
301°, 81%, 75%
CMYK
0, 42, 1, 5
Luminance
0.4446

Every format

HEX#f38df1
RGBrgb(243, 141, 241)
HSLhsl(301, 81%, 75%)
CMYKcmyk(0%, 42%, 1%, 5%)
LABlab(72.5 52.9 -34.0)
LCHlch(72.5 62.9 327.3)
OKLCHoklch(0.785 0.174 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f38df1 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#f38df1 on black: 9.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green55.3%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta42.0%
Yellow0.8%
Key (black)4.7%

Color previews

#f38df1 text on a black background

contrast 9.89:1

Card sample

#f38df1 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(243, 141, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 141, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f38df1;
background: linear-gradient(135deg, #f38df1, #F38DAD);

Monochromatic scale

Palettes built from #f38df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f38df1 in the Color Lab