Skip to content

#af4fad

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

RGB
175, 79, 173
HSL
301°, 38%, 50%
CMYK
0, 55, 1, 31
Luminance
0.1772

Every format

HEX#af4fad
RGBrgb(175, 79, 173)
HSLhsl(301, 38%, 50%)
CMYKcmyk(0%, 55%, 1%, 31%)
LABlab(49.2 51.9 -32.6)
LCHlch(49.2 61.3 327.8)
OKLCHoklch(0.583 0.171 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af4fad on white: 4.62:1
AA ✓ pass · AA-large · AAA
Aa
#af4fad on black: 4.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green31.0%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta54.9%
Yellow1.1%
Key (black)31.4%

Color previews

#af4fad text on a black background

contrast 4.54:1

Card sample

#af4fad text on a white background

contrast 4.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af4fad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af4fad in the Color Lab