#ca507c
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 | #ca507c | |
| RGB | rgb(202 80 124) | |
| HSL | hsl(338.36 53.51% 55.29%) | |
| OKLCH | oklch(0.6 0.16 0.66) | |
| CMYK | cmyk(0% 60.4% 38.61% 20.78%) | |
| Android | #ffca507c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#ca507c"
Gradient stop
<stop stop-color="#ca507c"/>
CSS variable + fill
:root { --c: #ca507c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca507c; background-color: #ca507c; bg-[#ca507c]