#ec381f
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 | #ec381f | |
| RGB | rgb(236 56 31) | |
| HSL | hsl(7.32 84.36% 52.35%) | |
| OKLCH | oklch(0.62 0.22 31.22) | |
| CMYK | cmyk(0% 76.27% 86.86% 7.45%) | |
| Android | #ffec381f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.15: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="#ec381f"
Gradient stop
<stop stop-color="#ec381f"/>
CSS variable + fill
:root { --c: #ec381f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec381f; background-color: #ec381f; bg-[#ec381f]