#af7f84
a balanced, soft red · warm · closest name: gray
RGB
175, 127, 132
HSL
354°, 23%, 59%
CMYK
0, 27, 25, 31
Luminance
0.2596
Every format
| HEX | #af7f84 |
| RGB | rgb(175, 127, 132) |
| HSL | hsl(354, 23%, 59%) |
| CMYK | cmyk(0%, 27%, 25%, 31%) |
| LAB | lab(58.0 19.3 4.7) |
| LCH | lch(58.0 19.9 13.5) |
| OKLCH | oklch(0.645 0.060 11.9) |
Copy-ready code
/* CSS */
color: #af7f84;
background-color: #af7f84;
/* Tailwind (arbitrary) */
class="text-[#af7f84] bg-[#af7f84]"
/* SCSS */
$brand: #af7f84;
/* SwiftUI */
Color(red: 0.686, green: 0.498, blue: 0.518)
/* Android */
Color.parseColor("#af7f84")Accessibility — WCAG contrast
Aa
#af7f84 on white: 3.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af7f84 on black: 6.19:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green49.8%
Blue51.8%
CMYK percentages
Cyan0.0%
Magenta27.4%
Yellow24.6%
Key (black)31.4%
Color previews
#af7f84 text on a black background
contrast 6.19:1
Card sample
#af7f84 text on a white background
contrast 3.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af7f84;
Background color
Panel with #af7f84 background
background-color: #af7f84;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af7f84;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 127, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 127, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af7f84; background: linear-gradient(135deg, #af7f84, #AF9A7F);