#cf0778
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 | #cf0778 | |
| RGB | rgb(207 7 120) | |
| HSL | hsl(326.1 93.46% 41.96%) | |
| OKLCH | oklch(0.56 0.23 356.11) | |
| CMYK | cmyk(0% 96.62% 42.03% 18.82%) | |
| Android | #ffcf0778 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.31:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.95:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cf0778"
Gradient stop
<stop stop-color="#cf0778"/>
CSS variable + fill
:root { --c: #cf0778; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf0778; background-color: #cf0778; bg-[#cf0778]