#f798c8
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 | #f798c8 | |
| RGB | rgb(247 152 200) | |
| HSL | hsl(329.68 85.59% 78.24%) | |
| OKLCH | oklch(0.79 0.13 348.74) | |
| CMYK | cmyk(0% 38.46% 19.03% 3.14%) | |
| Android | #fff798c8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.04:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.28: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="#f798c8"
Gradient stop
<stop stop-color="#f798c8"/>
CSS variable + fill
:root { --c: #f798c8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f798c8; background-color: #f798c8; bg-[#f798c8]