#e54e97
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 | #e54e97 | |
| RGB | rgb(229 78 151) | |
| HSL | hsl(330.99 74.38% 60.2%) | |
| OKLCH | oklch(0.65 0.2 354.22) | |
| CMYK | cmyk(0% 65.94% 34.06% 10.2%) | |
| Android | #ffe54e97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.57:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.86: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="#e54e97"
Gradient stop
<stop stop-color="#e54e97"/>
CSS variable + fill
:root { --c: #e54e97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e54e97; background-color: #e54e97; bg-[#e54e97]