#eb3940
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 | #eb3940 | |
| RGB | rgb(235 57 64) | |
| HSL | hsl(357.64 81.65% 57.25%) | |
| OKLCH | oklch(0.62 0.21 24.25) | |
| CMYK | cmyk(0% 75.74% 72.77% 7.84%) | |
| Android | #ffeb3940 |
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="#eb3940"
Gradient stop
<stop stop-color="#eb3940"/>
CSS variable + fill
:root { --c: #eb3940; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eb3940; background-color: #eb3940; bg-[#eb3940]