#eb5afe
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 | #eb5afe | |
| RGB | rgb(235 90 254) | |
| HSL | hsl(293.05 98.8% 67.45%) | |
| OKLCH | oklch(0.72 0.26 322.88) | |
| CMYK | cmyk(7.48% 64.57% 0% 0.39%) | |
| Android | #ffeb5afe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.82:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.42: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="#eb5afe"
Gradient stop
<stop stop-color="#eb5afe"/>
CSS variable + fill
:root { --c: #eb5afe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eb5afe; background-color: #eb5afe; bg-[#eb5afe]