#f371c7
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 | #f371c7 | |
| RGB | rgb(243 113 199) | |
| HSL | hsl(320.31 84.42% 69.8%) | |
| OKLCH | oklch(0.73 0.19 342.34) | |
| CMYK | cmyk(0% 53.5% 18.11% 4.71%) | |
| Android | #fff371c7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.62:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.99: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="#f371c7"
Gradient stop
<stop stop-color="#f371c7"/>
CSS variable + fill
:root { --c: #f371c7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f371c7; background-color: #f371c7; bg-[#f371c7]