Skip to content

#af50ba

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

RGB
175, 80, 186
HSL
294°, 43%, 52%
CMYK
6, 57, 0, 27
Luminance
0.1840

Every format

HEX#af50ba
RGBrgb(175, 80, 186)
HSLhsl(294, 43%, 52%)
CMYKcmyk(6%, 57%, 0%, 27%)
LABlab(50.0 53.8 -38.9)
LCHlch(50.0 66.4 324.1)
OKLCHoklch(0.592 0.181 323.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af50ba on white: 4.49:1
AA ✗ fail · AA-large · AAA
Aa
#af50ba on black: 4.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green31.4%
Blue72.9%

CMYK percentages

Cyan5.9%
Magenta57.0%
Yellow0.0%
Key (black)27.1%

Color previews

#af50ba text on a black background

contrast 4.68:1

Card sample

#af50ba text on a white background

contrast 4.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af50ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af50ba in the Color Lab