#ca02c3
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 | #ca02c3 | |
| RGB | rgb(202 2 195) | |
| HSL | hsl(302.1 98.04% 40%) | |
| OKLCH | oklch(0.58 0.27 330.25) | |
| CMYK | cmyk(0% 99.01% 3.47% 20.78%) | |
| Android | #ffca02c3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.30: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="#ca02c3"
Gradient stop
<stop stop-color="#ca02c3"/>
CSS variable + fill
:root { --c: #ca02c3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca02c3; background-color: #ca02c3; bg-[#ca02c3]