#f97aeb
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 | #f97aeb | |
| RGB | rgb(249 122 235) | |
| HSL | hsl(306.61 91.37% 72.75%) | |
| OKLCH | oklch(0.76 0.2 331.68) | |
| CMYK | cmyk(0% 51% 5.62% 2.35%) | |
| Android | #fff97aeb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.01: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="#f97aeb"
Gradient stop
<stop stop-color="#f97aeb"/>
CSS variable + fill
:root { --c: #f97aeb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f97aeb; background-color: #f97aeb; bg-[#f97aeb]