#c42e96
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 | #c42e96 | |
| RGB | rgb(196 46 150) | |
| HSL | hsl(318.4 61.98% 47.45%) | |
| OKLCH | oklch(0.57 0.21 343.47) | |
| CMYK | cmyk(0% 76.53% 23.47% 23.14%) | |
| Android | #ffc42e96 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17: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="#c42e96"
Gradient stop
<stop stop-color="#c42e96"/>
CSS variable + fill
:root { --c: #c42e96; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c42e96; background-color: #c42e96; bg-[#c42e96]