#ea5fe1
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 | #ea5fe1 | |
| RGB | rgb(234 95 225) | |
| HSL | hsl(303.88 76.8% 64.51%) | |
| OKLCH | oklch(0.71 0.23 330.27) | |
| CMYK | cmyk(0% 59.4% 3.85% 8.24%) | |
| Android | #ffea5fe1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.90:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.22: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="#ea5fe1"
Gradient stop
<stop stop-color="#ea5fe1"/>
CSS variable + fill
:root { --c: #ea5fe1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ea5fe1; background-color: #ea5fe1; bg-[#ea5fe1]