#d313af
a balanced, electric magenta / pink · warm · closest name: orchid
RGB
211, 19, 175
HSL
311°, 84%, 45%
CMYK
0, 91, 17, 17
Luminance
0.1741
Every format
| HEX | #d313af |
| RGB | rgb(211, 19, 175) |
| HSL | hsl(311, 84%, 45%) |
| CMYK | cmyk(0%, 91%, 17%, 17%) |
| LAB | lab(48.8 78.6 -34.0) |
| LCH | lch(48.8 85.6 336.6) |
| OKLCH | oklch(0.592 0.252 338.4) |
Copy-ready code
/* CSS */
color: #d313af;
background-color: #d313af;
/* Tailwind (arbitrary) */
class="text-[#d313af] bg-[#d313af]"
/* SCSS */
$brand: #d313af;
/* SwiftUI */
Color(red: 0.827, green: 0.075, blue: 0.686)
/* Android */
Color.parseColor("#d313af")Accessibility — WCAG contrast
Aa
#d313af on white: 4.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#d313af on black: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red82.7%
Green7.5%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta91.0%
Yellow17.1%
Key (black)17.3%
Color previews
#d313af text on a black background
contrast 4.48:1
Card sample
#d313af text on a white background
contrast 4.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d313af;
Background color
Panel with #d313af background
background-color: #d313af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d313af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(211, 19, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 19, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d313af; background: linear-gradient(135deg, #d313af, #D3132F);