#f0307a
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 | #f0307a | |
| RGB | rgb(240 48 122) | |
| HSL | hsl(336.88 86.49% 56.47%) | |
| OKLCH | oklch(0.63 0.23 4.12) | |
| CMYK | cmyk(0% 80% 49.17% 5.88%) | |
| Android | #fff0307a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.88:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.40: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="#f0307a"
Gradient stop
<stop stop-color="#f0307a"/>
CSS variable + fill
:root { --c: #f0307a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0307a; background-color: #f0307a; bg-[#f0307a]