Skip to content

#af3cad

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

RGB
175, 60, 173
HSL
301°, 49%, 46%
CMYK
0, 66, 1, 31
Luminance
0.1536

Every format

HEX#af3cad
RGBrgb(175, 60, 173)
HSLhsl(301, 49%, 46%)
CMYKcmyk(0%, 66%, 1%, 31%)
LABlab(46.1 60.2 -37.4)
LCHlch(46.1 70.9 328.2)
OKLCHoklch(0.561 0.198 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3cad on white: 5.16:1
AA ✓ pass · AA-large · AAA
Aa
#af3cad on black: 4.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green23.5%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta65.7%
Yellow1.1%
Key (black)31.4%

Color previews

#af3cad text on a black background

contrast 4.07:1

Card sample

#af3cad text on a white background

contrast 5.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3cad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3cad in the Color Lab