#ea2540
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 | #ea2540 | |
| RGB | rgb(234 37 64) | |
| HSL | hsl(351.78 82.43% 53.14%) | |
| OKLCH | oklch(0.6 0.23 21.45) | |
| CMYK | cmyk(0% 84.19% 72.65% 8.24%) | |
| Android | #ffea2540 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.83: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="#ea2540"
Gradient stop
<stop stop-color="#ea2540"/>
CSS variable + fill
:root { --c: #ea2540; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ea2540; background-color: #ea2540; bg-[#ea2540]