#f370df
a light, electric magenta / pink · warm · closest name: violet
RGB
243, 112, 223
HSL
309°, 85%, 70%
CMYK
0, 54, 8, 5
Luminance
0.3597
Every format
| HEX | #f370df |
| RGB | rgb(243, 112, 223) |
| HSL | hsl(309, 85%, 70%) |
| CMYK | cmyk(0%, 54%, 8%, 5%) |
| LAB | lab(66.5 63.8 -33.4) |
| LCH | lch(66.5 72.0 332.3) |
| OKLCH | oklch(0.738 0.205 333.7) |
Copy-ready code
/* CSS */
color: #f370df;
background-color: #f370df;
/* Tailwind (arbitrary) */
class="text-[#f370df] bg-[#f370df]"
/* SCSS */
$brand: #f370df;
/* SwiftUI */
Color(red: 0.953, green: 0.439, blue: 0.875)
/* Android */
Color.parseColor("#f370df")Accessibility — WCAG contrast
Aa
#f370df on white: 2.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f370df on black: 8.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.3%
Green43.9%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta53.9%
Yellow8.2%
Key (black)4.7%
Color previews
#f370df text on a black background
contrast 8.19:1
Card sample
#f370df text on a white background
contrast 2.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f370df;
Background color
Panel with #f370df background
background-color: #f370df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f370df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(243, 112, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 112, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f370df; background: linear-gradient(135deg, #f370df, #F37088);