#ec7abf
a light, electric magenta / pink · warm · closest name: orchid
RGB
236, 122, 191
HSL
324°, 75%, 70%
CMYK
0, 48, 19, 8
Luminance
0.3551
Every format
| HEX | #ec7abf |
| RGB | rgb(236, 122, 191) |
| HSL | hsl(324, 75%, 70%) |
| CMYK | cmyk(0%, 48%, 19%, 8%) |
| LAB | lab(66.2 52.1 -16.1) |
| LCH | lch(66.2 54.5 342.8) |
| OKLCH | oklch(0.729 0.161 344.6) |
Copy-ready code
/* CSS */
color: #ec7abf;
background-color: #ec7abf;
/* Tailwind (arbitrary) */
class="text-[#ec7abf] bg-[#ec7abf]"
/* SCSS */
$brand: #ec7abf;
/* SwiftUI */
Color(red: 0.925, green: 0.478, blue: 0.749)
/* Android */
Color.parseColor("#ec7abf")Accessibility — WCAG contrast
Aa
#ec7abf on white: 2.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ec7abf on black: 8.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green47.8%
Blue74.9%
CMYK percentages
Cyan0.0%
Magenta48.3%
Yellow19.1%
Key (black)7.5%
Color previews
#ec7abf text on a black background
contrast 8.10:1
Card sample
#ec7abf text on a white background
contrast 2.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec7abf;
Background color
Panel with #ec7abf background
background-color: #ec7abf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec7abf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 122, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 122, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec7abf; background: linear-gradient(135deg, #ec7abf, #EC817A);