#e342a9
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 | #e342a9 | |
| RGB | rgb(227 66 169) | |
| HSL | hsl(321.61 74.19% 57.45%) | |
| OKLCH | oklch(0.64 0.22 345.8) | |
| CMYK | cmyk(0% 70.93% 25.55% 10.98%) | |
| Android | #ffe342a9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.73:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.61: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="#e342a9"
Gradient stop
<stop stop-color="#e342a9"/>
CSS variable + fill
:root { --c: #e342a9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e342a9; background-color: #e342a9; bg-[#e342a9]