#c45cc2
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 | #c45cc2 | |
| RGB | rgb(196 92 194) | |
| HSL | hsl(301.15 46.85% 56.47%) | |
| OKLCH | oklch(0.64 0.18 328.18) | |
| CMYK | cmyk(0% 53.06% 1.02% 23.14%) | |
| Android | #ffc45cc2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.71:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.65: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="#c45cc2"
Gradient stop
<stop stop-color="#c45cc2"/>
CSS variable + fill
:root { --c: #c45cc2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c45cc2; background-color: #c45cc2; bg-[#c45cc2]