#ca52af
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 | #ca52af | |
| RGB | rgb(202 82 175) | |
| HSL | hsl(313.5 53.1% 55.69%) | |
| OKLCH | oklch(0.62 0.19 337.32) | |
| CMYK | cmyk(0% 59.41% 13.37% 20.78%) | |
| Android | #ffca52af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.93:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.33: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="#ca52af"
Gradient stop
<stop stop-color="#ca52af"/>
CSS variable + fill
:root { --c: #ca52af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca52af; background-color: #ca52af; bg-[#ca52af]