#f0377d
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 | #f0377d | |
| RGB | rgb(240 55 125) | |
| HSL | hsl(337.3 86.05% 57.84%) | |
| OKLCH | oklch(0.64 0.22 3.73) | |
| CMYK | cmyk(0% 77.08% 47.92% 5.88%) | |
| Android | #fff0377d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#f0377d"
Gradient stop
<stop stop-color="#f0377d"/>
CSS variable + fill
:root { --c: #f0377d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0377d; background-color: #f0377d; bg-[#f0377d]