#eb507e
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #eb507e | |
| RGB | rgb(235 80 126) | |
| HSL | hsl(342.19 79.49% 61.76%) | |
| OKLCH | oklch(0.65 0.19 6.12) | |
| CMYK | cmyk(0% 65.96% 46.38% 7.84%) | |
| Android | #ffeb507e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.51:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.98:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#eb507e"
Gradient stop
<stop stop-color="#eb507e"/>
CSS variable + fill
:root { --c: #eb507e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eb507e; background-color: #eb507e; bg-[#eb507e]