#e2897f
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 | #e2897f | |
| RGB | rgb(226 137 127) | |
| HSL | hsl(6.06 63.06% 69.22%) | |
| OKLCH | oklch(0.72 0.11 27.01) | |
| CMYK | cmyk(0% 39.38% 43.81% 11.37%) | |
| Android | #ffe2897f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.58:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.11: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="#e2897f"
Gradient stop
<stop stop-color="#e2897f"/>
CSS variable + fill
:root { --c: #e2897f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e2897f; background-color: #e2897f; bg-[#e2897f]