#f790ba
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 | #f790ba | |
| RGB | rgb(247 144 186) | |
| HSL | hsl(335.53 86.55% 76.67%) | |
| OKLCH | oklch(0.77 0.13 354.73) | |
| CMYK | cmyk(0% 41.7% 24.7% 3.14%) | |
| Android | #fff790ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.17:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.65: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="#f790ba"
Gradient stop
<stop stop-color="#f790ba"/>
CSS variable + fill
:root { --c: #f790ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f790ba; background-color: #f790ba; bg-[#f790ba]