#ca50af
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 | #ca50af | |
| RGB | rgb(202 80 175) | |
| HSL | hsl(313.28 53.51% 55.29%) | |
| OKLCH | oklch(0.62 0.19 337.23) | |
| CMYK | cmyk(0% 60.4% 13.37% 20.78%) | |
| Android | #ffca50af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.97:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.27: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="#ca50af"
Gradient stop
<stop stop-color="#ca50af"/>
CSS variable + fill
:root { --c: #ca50af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca50af; background-color: #ca50af; bg-[#ca50af]