#cf0caa
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 | #cf0caa | |
| RGB | rgb(207 12 170) | |
| HSL | hsl(311.38 89.04% 42.94%) | |
| OKLCH | oklch(0.58 0.25 338.91) | |
| CMYK | cmyk(0% 94.2% 17.87% 18.82%) | |
| Android | #ffcf0caa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28: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="#cf0caa"
Gradient stop
<stop stop-color="#cf0caa"/>
CSS variable + fill
:root { --c: #cf0caa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf0caa; background-color: #cf0caa; bg-[#cf0caa]