#c12dbe
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 | #c12dbe | |
| RGB | rgb(193 45 190) | |
| HSL | hsl(301.22 62.18% 46.67%) | |
| OKLCH | oklch(0.58 0.24 328.99) | |
| CMYK | cmyk(0% 76.68% 1.55% 24.31%) | |
| Android | #ffc12dbe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.38: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="#c12dbe"
Gradient stop
<stop stop-color="#c12dbe"/>
CSS variable + fill
:root { --c: #c12dbe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c12dbe; background-color: #c12dbe; bg-[#c12dbe]