#af98ab
a balanced, muted magenta / pink · warm · closest name: gray
RGB
175, 152, 171
HSL
310°, 13%, 64%
CMYK
0, 13, 2, 31
Luminance
0.3451
Every format
| HEX | #af98ab |
| RGB | rgb(175, 152, 171) |
| HSL | hsl(310, 13%, 64%) |
| CMYK | cmyk(0%, 13%, 2%, 31%) |
| LAB | lab(65.4 11.9 -6.8) |
| LCH | lch(65.4 13.7 330.4) |
| OKLCH | oklch(0.706 0.038 331.8) |
Copy-ready code
/* CSS */
color: #af98ab;
background-color: #af98ab;
/* Tailwind (arbitrary) */
class="text-[#af98ab] bg-[#af98ab]"
/* SCSS */
$brand: #af98ab;
/* SwiftUI */
Color(red: 0.686, green: 0.596, blue: 0.671)
/* Android */
Color.parseColor("#af98ab")Accessibility — WCAG contrast
Aa
#af98ab on white: 2.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af98ab on black: 7.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green59.6%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta13.1%
Yellow2.3%
Key (black)31.4%
Color previews
#af98ab text on a black background
contrast 7.90:1
Card sample
#af98ab text on a white background
contrast 2.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af98ab;
Background color
Panel with #af98ab background
background-color: #af98ab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af98ab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 152, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 152, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af98ab; background: linear-gradient(135deg, #af98ab, #AF989C);