#c52ea0
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 | #c52ea0 | |
| RGB | rgb(197 46 160) | |
| HSL | hsl(314.7 62.14% 47.65%) | |
| OKLCH | oklch(0.58 0.22 340.07) | |
| CMYK | cmyk(0% 76.65% 18.78% 22.75%) | |
| Android | #ffc52ea0 |
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="#c52ea0"
Gradient stop
<stop stop-color="#c52ea0"/>
CSS variable + fill
:root { --c: #c52ea0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c52ea0; background-color: #c52ea0; bg-[#c52ea0]