#af207c
a dark, vivid magenta / pink · warm · closest name: purple
RGB
175, 32, 124
HSL
321°, 69%, 41%
CMYK
0, 82, 29, 31
Luminance
0.1160
Every format
| HEX | #af207c |
| RGB | rgb(175, 32, 124) |
| HSL | hsl(321, 69%, 41%) |
| CMYK | cmyk(0%, 82%, 29%, 31%) |
| LAB | lab(40.6 62.3 -16.4) |
| LCH | lch(40.6 64.5 345.2) |
| OKLCH | oklch(0.514 0.195 347.1) |
Copy-ready code
/* CSS */
color: #af207c;
background-color: #af207c;
/* Tailwind (arbitrary) */
class="text-[#af207c] bg-[#af207c]"
/* SCSS */
$brand: #af207c;
/* SwiftUI */
Color(red: 0.686, green: 0.125, blue: 0.486)
/* Android */
Color.parseColor("#af207c")Accessibility — WCAG contrast
Aa
#af207c on white: 6.32:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af207c on black: 3.32:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green12.5%
Blue48.6%
CMYK percentages
Cyan0.0%
Magenta81.7%
Yellow29.1%
Key (black)31.4%
Color previews
#af207c text on a black background
contrast 3.32:1
Card sample
#af207c text on a white background
contrast 6.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af207c;
Background color
Panel with #af207c background
background-color: #af207c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af207c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 32, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 32, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af207c; background: linear-gradient(135deg, #af207c, #AF2320);