Skip to content

#af89b8

a balanced, soft violet · warm · closest name: plum

RGB
175, 137, 184
HSL
289°, 25%, 63%
CMYK
5, 26, 0, 28
Luminance
0.3047

Every format

HEX#af89b8
RGBrgb(175, 137, 184)
HSLhsl(289, 25%, 63%)
CMYKcmyk(5%, 26%, 0%, 28%)
LABlab(62.0 22.9 -19.1)
LCHlch(62.0 29.8 320.2)
OKLCHoklch(0.682 0.080 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af89b8 on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#af89b8 on black: 7.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green53.7%
Blue72.2%

CMYK percentages

Cyan4.9%
Magenta25.5%
Yellow0.0%
Key (black)27.8%

Color previews

#af89b8 text on a black background

contrast 7.09:1

Card sample

#af89b8 text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af89b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af89b8 in the Color Lab