#e9317c
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 | #e9317c | |
| RGB | rgb(233 49 124) | |
| HSL | hsl(335.54 80.7% 55.29%) | |
| OKLCH | oklch(0.62 0.22 2.26) | |
| CMYK | cmyk(0% 78.97% 46.78% 8.63%) | |
| Android | #ffe9317c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.19: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="#e9317c"
Gradient stop
<stop stop-color="#e9317c"/>
CSS variable + fill
:root { --c: #e9317c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e9317c; background-color: #e9317c; bg-[#e9317c]