Skip to content

#af0abc

a dark, electric magenta / pink · warm · closest name: purple

RGB
175, 10, 188
HSL
296°, 90%, 39%
CMYK
7, 95, 0, 26
Luminance
0.1296

Every format

HEX#af0abc
RGBrgb(175, 10, 188)
HSLhsl(296, 90%, 39%)
CMYKcmyk(7%, 95%, 0%, 26%)
LABlab(42.7 75.1 -51.7)
LCHlch(42.7 91.2 325.5)
OKLCHoklch(0.540 0.249 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af0abc on white: 5.85:1
AA ✓ pass · AA-large · AAA
Aa
#af0abc on black: 3.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green3.9%
Blue73.7%

CMYK percentages

Cyan6.9%
Magenta94.7%
Yellow0.0%
Key (black)26.3%

Color previews

#af0abc text on a black background

contrast 3.59:1

Card sample

#af0abc text on a white background

contrast 5.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af0abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af0abc in the Color Lab