#e229c2
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 | #e229c2 | |
| RGB | rgb(226 41 194) | |
| HSL | hsl(310.38 76.13% 52.35%) | |
| OKLCH | oklch(0.63 0.26 336.79) | |
| CMYK | cmyk(0% 81.86% 14.16% 11.37%) | |
| Android | #ffe229c2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.94:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.32: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="#e229c2"
Gradient stop
<stop stop-color="#e229c2"/>
CSS variable + fill
:root { --c: #e229c2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e229c2; background-color: #e229c2; bg-[#e229c2]