#ea2f8f
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 | #ea2f8f | |
| RGB | rgb(234 47 143) | |
| HSL | hsl(329.2 81.66% 55.1%) | |
| OKLCH | oklch(0.63 0.23 355.4) | |
| CMYK | cmyk(0% 79.91% 38.89% 8.24%) | |
| Android | #ffea2f8f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.30: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="#ea2f8f"
Gradient stop
<stop stop-color="#ea2f8f"/>
CSS variable + fill
:root { --c: #ea2f8f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ea2f8f; background-color: #ea2f8f; bg-[#ea2f8f]