#e152a2
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 | #e152a2 | |
| RGB | rgb(225 82 162) | |
| HSL | hsl(326.43 70.44% 60.2%) | |
| OKLCH | oklch(0.65 0.19 349.24) | |
| CMYK | cmyk(0% 63.56% 28% 11.76%) | |
| Android | #ffe152a2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.54:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.93: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="#e152a2"
Gradient stop
<stop stop-color="#e152a2"/>
CSS variable + fill
:root { --c: #e152a2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e152a2; background-color: #e152a2; bg-[#e152a2]