#cd1fcf
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 | #cd1fcf | |
| RGB | rgb(205 31 207) | |
| HSL | hsl(299.32 73.95% 46.67%) | |
| OKLCH | oklch(0.6 0.26 327.7) | |
| CMYK | cmyk(0.97% 85.02% 0% 18.82%) | |
| Android | #ffcd1fcf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.69: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="#cd1fcf"
Gradient stop
<stop stop-color="#cd1fcf"/>
CSS variable + fill
:root { --c: #cd1fcf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd1fcf; background-color: #cd1fcf; bg-[#cd1fcf]