Skip to content

#af5fac

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

RGB
175, 95, 172
HSL
302°, 33%, 53%
CMYK
0, 46, 2, 31
Luminance
0.2028

Every format

HEX#af5fac
RGBrgb(175, 95, 172)
HSLhsl(302, 33%, 53%)
CMYKcmyk(0%, 46%, 2%, 31%)
LABlab(52.1 43.7 -27.4)
LCHlch(52.1 51.6 327.9)
OKLCHoklch(0.605 0.143 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green37.3%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta45.7%
Yellow1.7%
Key (black)31.4%

Color previews

#af5fac text on a black background

contrast 5.06:1

Card sample

#af5fac text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af5fac in the Color Lab