#f01595
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 | #f01595 | |
| RGB | rgb(240 21 149) | |
| HSL | hsl(324.93 87.95% 51.18%) | |
| OKLCH | oklch(0.63 0.25 353.43) | |
| CMYK | cmyk(0% 91.25% 37.92% 5.88%) | |
| Android | #fff01595 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.24: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="#f01595"
Gradient stop
<stop stop-color="#f01595"/>
CSS variable + fill
:root { --c: #f01595; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f01595; background-color: #f01595; bg-[#f01595]