#c242b2
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 | #c242b2 | |
| RGB | rgb(194 66 178) | |
| HSL | hsl(307.5 51.2% 50.98%) | |
| OKLCH | oklch(0.6 0.2 333.19) | |
| CMYK | cmyk(0% 65.98% 8.25% 23.92%) | |
| Android | #ffc242b2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.71: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="#c242b2"
Gradient stop
<stop stop-color="#c242b2"/>
CSS variable + fill
:root { --c: #c242b2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c242b2; background-color: #c242b2; bg-[#c242b2]