#c12eaa
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 | #c12eaa | |
| RGB | rgb(193 46 170) | |
| HSL | hsl(309.39 61.51% 46.86%) | |
| OKLCH | oklch(0.57 0.22 335.4) | |
| CMYK | cmyk(0% 76.17% 11.92% 24.31%) | |
| Android | #ffc12eaa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23: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="#c12eaa"
Gradient stop
<stop stop-color="#c12eaa"/>
CSS variable + fill
:root { --c: #c12eaa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c12eaa; background-color: #c12eaa; bg-[#c12eaa]