#ff2146
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 | #ff2146 | |
| RGB | rgb(255 33 70) | |
| HSL | hsl(350 100% 56.47%) | |
| OKLCH | oklch(0.64 0.25 20.89) | |
| CMYK | cmyk(0% 87.06% 72.55% 0%) | |
| Android | #ffff2146 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.77:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.55: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="#ff2146"
Gradient stop
<stop stop-color="#ff2146"/>
CSS variable + fill
:root { --c: #ff2146; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ff2146; background-color: #ff2146; bg-[#ff2146]