#af649f
a balanced, soft magenta / pink · warm · closest name: plum
RGB
175, 100, 159
HSL
313°, 32%, 54%
CMYK
0, 43, 9, 31
Luminance
0.2073
Every format
| HEX | #af649f |
| RGB | rgb(175, 100, 159) |
| HSL | hsl(313, 32%, 54%) |
| CMYK | cmyk(0%, 43%, 9%, 31%) |
| LAB | lab(52.7 38.7 -19.0) |
| LCH | lch(52.7 43.1 333.8) |
| OKLCH | oklch(0.607 0.123 335.4) |
Copy-ready code
/* CSS */
color: #af649f;
background-color: #af649f;
/* Tailwind (arbitrary) */
class="text-[#af649f] bg-[#af649f]"
/* SCSS */
$brand: #af649f;
/* SwiftUI */
Color(red: 0.686, green: 0.392, blue: 0.624)
/* Android */
Color.parseColor("#af649f")Accessibility — WCAG contrast
Aa
#af649f on white: 4.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af649f on black: 5.15:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green39.2%
Blue62.4%
CMYK percentages
Cyan0.0%
Magenta42.9%
Yellow9.1%
Key (black)31.4%
Color previews
#af649f text on a black background
contrast 5.15:1
Card sample
#af649f text on a white background
contrast 4.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af649f;
Background color
Panel with #af649f background
background-color: #af649f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af649f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 100, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 100, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af649f; background: linear-gradient(135deg, #af649f, #AF646D);