#f97bf0
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 | #f97bf0 | |
| RGB | rgb(249 123 240) | |
| HSL | hsl(304.29 91.3% 72.94%) | |
| OKLCH | oklch(0.77 0.21 330.11) | |
| CMYK | cmyk(0% 50.6% 3.61% 2.35%) | |
| Android | #fff97bf0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.30:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.11: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="#f97bf0"
Gradient stop
<stop stop-color="#f97bf0"/>
CSS variable + fill
:root { --c: #f97bf0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f97bf0; background-color: #f97bf0; bg-[#f97bf0]