#f787ac
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 | #f787ac | |
| RGB | rgb(247 135 172) | |
| HSL | hsl(340.18 87.5% 74.9%) | |
| OKLCH | oklch(0.76 0.14 359.96) | |
| CMYK | cmyk(0% 45.34% 30.36% 3.14%) | |
| Android | #fff787ac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.32: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="#f787ac"
Gradient stop
<stop stop-color="#f787ac"/>
CSS variable + fill
:root { --c: #f787ac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f787ac; background-color: #f787ac; bg-[#f787ac]