Skip to content

#af49bc

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

RGB
175, 73, 188
HSL
293°, 46%, 51%
CMYK
7, 61, 0, 26
Luminance
0.1751

Every format

HEX#af49bc
RGBrgb(175, 73, 188)
HSLhsl(293, 46%, 51%)
CMYKcmyk(7%, 61%, 0%, 26%)
LABlab(48.9 57.4 -41.8)
LCHlch(48.9 71.0 323.9)
OKLCHoklch(0.584 0.193 323.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af49bc on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#af49bc on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green28.6%
Blue73.7%

CMYK percentages

Cyan6.9%
Magenta61.2%
Yellow0.0%
Key (black)26.3%

Color previews

#af49bc text on a black background

contrast 4.50:1

Card sample

#af49bc text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af49bc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af49bc in the Color Lab