#eb2021
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 | #eb2021 | |
| RGB | rgb(235 32 33) | |
| HSL | hsl(359.7 83.54% 52.35%) | |
| OKLCH | oklch(0.6 0.23 27.79) | |
| CMYK | cmyk(0% 86.38% 85.96% 7.84%) | |
| Android | #ffeb2021 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.41:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.76: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="#eb2021"
Gradient stop
<stop stop-color="#eb2021"/>
CSS variable + fill
:root { --c: #eb2021; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eb2021; background-color: #eb2021; bg-[#eb2021]