#f498fb
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 | #f498fb | |
| RGB | rgb(244 152 251) | |
| HSL | hsl(295.76 92.52% 79.02%) | |
| OKLCH | oklch(0.81 0.17 324.44) | |
| CMYK | cmyk(2.79% 39.44% 0% 1.57%) | |
| Android | #fff498fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.95:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.73: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="#f498fb"
Gradient stop
<stop stop-color="#f498fb"/>
CSS variable + fill
:root { --c: #f498fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f498fb; background-color: #f498fb; bg-[#f498fb]