#ec7ceb
a light, vivid magenta / pink · warm · “violet”
RGB
236, 124, 235
HSL
301°, 75%, 71%
CMYK
0, 48, 0, 8
Luminance
0.3825
Every format
| HEX | #ec7ceb |
| RGB | rgb(236, 124, 235) |
| HSL | hsl(301, 75%, 71%) |
| CMYK | cmyk(0%, 48%, 0%, 8%) |
| LAB | lab(68.2 58.2 -37.5) |
| LCH | lch(68.2 69.2 327.2) |
| OKLCH | oklch(0.750 0.192 327.6) |
Copy-ready code
/* CSS */
color: #ec7ceb;
background-color: #ec7ceb;
/* Tailwind (arbitrary) */
class="text-[#ec7ceb] bg-[#ec7ceb]"
/* SCSS */
$brand: #ec7ceb;
/* SwiftUI */
Color(red: 0.925, green: 0.486, blue: 0.922)
/* Android */
Color.parseColor("#ec7ceb")Accessibility — WCAG contrast
Aa
#ec7ceb on white: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ec7ceb on black: 8.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green48.6%
Blue92.2%
CMYK percentages
Cyan0.0%
Magenta47.5%
Yellow0.4%
Key (black)7.5%
Color previews
#ec7ceb text on a black background
contrast 8.65:1
Card sample
#ec7ceb text on a white background
contrast 2.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec7ceb;
Background color
Panel with #ec7ceb background
background-color: #ec7ceb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec7ceb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 124, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 124, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec7ceb; background: linear-gradient(135deg, #ec7ceb, #EC7CA0);