#c12792
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 | #c12792 | |
| RGB | rgb(193 39 146) | |
| HSL | hsl(318.31 66.38% 45.49%) | |
| OKLCH | oklch(0.56 0.21 343.84) | |
| CMYK | cmyk(0% 79.79% 24.35% 24.31%) | |
| Android | #ffc12792 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97: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="#c12792"
Gradient stop
<stop stop-color="#c12792"/>
CSS variable + fill
:root { --c: #c12792; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c12792; background-color: #c12792; bg-[#c12792]