#f97be2
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 | #f97be2 | |
| RGB | rgb(249 123 226) | |
| HSL | hsl(310.95 91.3% 72.94%) | |
| OKLCH | oklch(0.76 0.19 334.71) | |
| CMYK | cmyk(0% 50.6% 9.24% 2.35%) | |
| Android | #fff97be2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.34:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.95: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="#f97be2"
Gradient stop
<stop stop-color="#f97be2"/>
CSS variable + fill
:root { --c: #f97be2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f97be2; background-color: #f97be2; bg-[#f97be2]