Skip to content

#ab65af

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

RGB
171, 101, 175
HSL
297°, 32%, 54%
CMYK
2, 42, 0, 31
Luminance
0.2106

Every format

HEX#ab65af
RGBrgb(171, 101, 175)
HSLhsl(297, 32%, 54%)
CMYKcmyk(2%, 42%, 0%, 31%)
LABlab(53.0 39.8 -27.8)
LCHlch(53.0 48.6 325.1)
OKLCHoklch(0.611 0.133 325.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab65af on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#ab65af on black: 5.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#ab65af text on a black background

contrast 5.21:1

Card sample

#ab65af text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab65af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab65af in the Color Lab