#ed31ae
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 | #ed31ae | |
| RGB | rgb(237 49 174) | |
| HSL | hsl(320.11 83.93% 56.08%) | |
| OKLCH | oklch(0.65 0.25 345.7) | |
| CMYK | cmyk(0% 79.32% 26.58% 7.06%) | |
| Android | #ffed31ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.71:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.65: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="#ed31ae"
Gradient stop
<stop stop-color="#ed31ae"/>
CSS variable + fill
:root { --c: #ed31ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ed31ae; background-color: #ed31ae; bg-[#ed31ae]