Skip to content

#f3afc2

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

RGB
243, 175, 194
HSL
343°, 74%, 82%
CMYK
0, 28, 20, 5
Luminance
0.5361

Every format

HEX#f3afc2
RGBrgb(243, 175, 194)
HSLhsl(343, 74%, 82%)
CMYKcmyk(0%, 28%, 20%, 5%)
LABlab(78.2 27.5 0.3)
LCHlch(78.2 27.5 0.5)
OKLCHoklch(0.823 0.083 0.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3afc2 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#f3afc2 on black: 11.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green68.6%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta28.0%
Yellow20.2%
Key (black)4.7%

Color previews

#f3afc2 text on a black background

contrast 11.72:1

Card sample

#f3afc2 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3afc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3afc2 in the Color Lab