Skip to content

#ab64af

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

RGB
171, 100, 175
HSL
297°, 32%, 54%
CMYK
2, 43, 0, 31
Luminance
0.2087

Every format

HEX#ab64af
RGBrgb(171, 100, 175)
HSLhsl(297, 32%, 54%)
CMYKcmyk(2%, 43%, 0%, 31%)
LABlab(52.8 40.4 -28.2)
LCHlch(52.8 49.2 325.1)
OKLCHoklch(0.610 0.135 325.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab64af on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#ab64af on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green39.2%
Blue68.6%

CMYK percentages

Cyan2.3%
Magenta42.9%
Yellow0.0%
Key (black)31.4%

Color previews

#ab64af text on a black background

contrast 5.17:1

Card sample

#ab64af text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab64af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab64af in the Color Lab