#f97cdf
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 | #f97cdf | |
| RGB | rgb(249 124 223) | |
| HSL | hsl(312.48 91.24% 73.14%) | |
| OKLCH | oklch(0.76 0.19 335.8) | |
| CMYK | cmyk(0% 50.2% 10.44% 2.35%) | |
| Android | #fff97cdf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.97: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="#f97cdf"
Gradient stop
<stop stop-color="#f97cdf"/>
CSS variable + fill
:root { --c: #f97cdf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f97cdf; background-color: #f97cdf; bg-[#f97cdf]