#af657f
a balanced, soft magenta / pink · warm · closest name: plum
RGB
175, 101, 127
HSL
339°, 32%, 54%
CMYK
0, 42, 27, 31
Luminance
0.1995
Every format
| HEX | #af657f |
| RGB | rgb(175, 101, 127) |
| HSL | hsl(339, 32%, 54%) |
| CMYK | cmyk(0%, 42%, 27%, 31%) |
| LAB | lab(51.8 33.1 -1.4) |
| LCH | lch(51.8 33.1 357.5) |
| OKLCH | oklch(0.597 0.100 358.1) |
Copy-ready code
/* CSS */
color: #af657f;
background-color: #af657f;
/* Tailwind (arbitrary) */
class="text-[#af657f] bg-[#af657f]"
/* SCSS */
$brand: #af657f;
/* SwiftUI */
Color(red: 0.686, green: 0.396, blue: 0.498)
/* Android */
Color.parseColor("#af657f")Accessibility — WCAG contrast
Aa
#af657f on white: 4.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af657f on black: 4.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green39.6%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta42.3%
Yellow27.4%
Key (black)31.4%
Color previews
#af657f text on a black background
contrast 4.99:1
Card sample
#af657f text on a white background
contrast 4.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af657f;
Background color
Panel with #af657f background
background-color: #af657f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af657f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 101, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 101, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af657f; background: linear-gradient(135deg, #af657f, #AF7C65);