Skip to content

#ae40af

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

RGB
174, 64, 175
HSL
300°, 46%, 47%
CMYK
1, 63, 0, 31
Luminance
0.1576

Every format

HEX#ae40af
RGBrgb(174, 64, 175)
HSLhsl(300, 46%, 47%)
CMYKcmyk(1%, 63%, 0%, 31%)
LABlab(46.7 58.7 -37.8)
LCHlch(46.7 69.8 327.3)
OKLCHoklch(0.565 0.194 327.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae40af on white: 5.06:1
AA ✓ pass · AA-large · AAA
Aa
#ae40af on black: 4.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green25.1%
Blue68.6%

CMYK percentages

Cyan0.6%
Magenta63.4%
Yellow0.0%
Key (black)31.4%

Color previews

#ae40af text on a black background

contrast 4.15:1

Card sample

#ae40af text on a white background

contrast 5.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae40af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae40af in the Color Lab