#e12fa8
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 | #e12fa8 | |
| RGB | rgb(225 47 168) | |
| HSL | hsl(319.21 74.79% 53.33%) | |
| OKLCH | oklch(0.62 0.24 344.74) | |
| CMYK | cmyk(0% 79.11% 25.33% 11.76%) | |
| Android | #ffe12fa8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.17: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="#e12fa8"
Gradient stop
<stop stop-color="#e12fa8"/>
CSS variable + fill
:root { --c: #e12fa8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e12fa8; background-color: #e12fa8; bg-[#e12fa8]