Skip to content

#af3fac

a balanced, vivid magenta / pink · warm · closest name: purple

RGB
175, 63, 172
HSL
302°, 47%, 47%
CMYK
0, 64, 2, 31
Luminance
0.1565

Every format

HEX#af3fac
RGBrgb(175, 63, 172)
HSLhsl(302, 47%, 47%)
CMYKcmyk(0%, 64%, 2%, 31%)
LABlab(46.5 58.8 -36.2)
LCHlch(46.5 69.1 328.4)
OKLCHoklch(0.564 0.193 328.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3fac on white: 5.09:1
AA ✓ pass · AA-large · AAA
Aa
#af3fac on black: 4.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green24.7%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta64.0%
Yellow1.7%
Key (black)31.4%

Color previews

#af3fac text on a black background

contrast 4.13:1

Card sample

#af3fac text on a white background

contrast 5.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3fac in the Color Lab