#f845cf
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 | #f845cf | |
| RGB | rgb(248 69 207) | |
| HSL | hsl(313.74 92.75% 62.16%) | |
| OKLCH | oklch(0.69 0.25 338.84) | |
| CMYK | cmyk(0% 72.18% 16.53% 2.75%) | |
| Android | #fff845cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.11:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.74: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="#f845cf"
Gradient stop
<stop stop-color="#f845cf"/>
CSS variable + fill
:root { --c: #f845cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f845cf; background-color: #f845cf; bg-[#f845cf]