#7a366c
a dark, soft magenta / pink · warm · closest name: purple
RGB
122, 54, 108
HSL
312°, 39%, 35%
CMYK
0, 56, 12, 52
Luminance
0.0786
Every format
| HEX | #7a366c |
| RGB | rgb(122, 54, 108) |
| HSL | hsl(312, 39%, 35%) |
| CMYK | cmyk(0%, 56%, 12%, 52%) |
| LAB | lab(33.7 37.0 -17.8) |
| LCH | lch(33.7 41.1 334.3) |
| OKLCH | oklch(0.444 0.118 335.9) |
Copy-ready code
/* CSS */
color: #7a366c;
background-color: #7a366c;
/* Tailwind (arbitrary) */
class="text-[#7a366c] bg-[#7a366c]"
/* SCSS */
$brand: #7a366c;
/* SwiftUI */
Color(red: 0.478, green: 0.212, blue: 0.424)
/* Android */
Color.parseColor("#7a366c")Accessibility — WCAG contrast
Aa
#7a366c on white: 8.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#7a366c on black: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.8%
Green21.2%
Blue42.4%
CMYK percentages
Cyan0.0%
Magenta55.7%
Yellow11.5%
Key (black)52.2%
Color previews
#7a366c text on a black background
contrast 2.57:1
Card sample
#7a366c text on a white background
contrast 8.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7a366c;
Background color
Panel with #7a366c background
background-color: #7a366c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7a366c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(122, 54, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 54, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7a366c; background: linear-gradient(135deg, #7a366c, #7A363F);