#e30f42
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 | #e30f42 | |
| RGB | rgb(227 15 66) | |
| HSL | hsl(345.57 87.6% 47.45%) | |
| OKLCH | oklch(0.58 0.23 18.66) | |
| CMYK | cmyk(0% 93.39% 70.93% 10.98%) | |
| Android | #ffe30f42 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.41:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#e30f42"
Gradient stop
<stop stop-color="#e30f42"/>
CSS variable + fill
:root { --c: #e30f42; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e30f42; background-color: #e30f42; bg-[#e30f42]