#f01145
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 | #f01145 | |
| RGB | rgb(240 17 69) | |
| HSL | hsl(346.01 88.14% 50.39%) | |
| OKLCH | oklch(0.61 0.24 19.04) | |
| CMYK | cmyk(0% 92.92% 71.25% 5.88%) | |
| Android | #fff01145 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.31:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.87: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="#f01145"
Gradient stop
<stop stop-color="#f01145"/>
CSS variable + fill
:root { --c: #f01145; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f01145; background-color: #f01145; bg-[#f01145]