#c702c8
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 | #c702c8 | |
| RGB | rgb(199 2 200) | |
| HSL | hsl(299.7 98.02% 39.61%) | |
| OKLCH | oklch(0.58 0.27 328.09) | |
| CMYK | cmyk(0.5% 99% 0% 21.57%) | |
| Android | #ffc702c8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27: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="#c702c8"
Gradient stop
<stop stop-color="#c702c8"/>
CSS variable + fill
:root { --c: #c702c8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c702c8; background-color: #c702c8; bg-[#c702c8]