Skip to content

#af64af

a balanced, soft magenta / pink · warm · closest name: orchid

RGB
175, 100, 175
HSL
300°, 32%, 54%
CMYK
0, 43, 0, 31
Luminance
0.2132

Every format

HEX#af64af
RGBrgb(175, 100, 175)
HSLhsl(300, 32%, 54%)
CMYKcmyk(0%, 43%, 0%, 31%)
LABlab(53.3 41.6 -27.3)
LCHlch(53.3 49.8 326.7)
OKLCHoklch(0.614 0.138 327.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af64af on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#af64af on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green39.2%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta42.9%
Yellow0.0%
Key (black)31.4%

Color previews

#af64af text on a black background

contrast 5.26:1

Card sample

#af64af text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af64af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af64af in the Color Lab