#c031cf
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 | #c031cf | |
| RGB | rgb(192 49 207) | |
| HSL | hsl(294.3 62.2% 50.2%) | |
| OKLCH | oklch(0.6 0.24 323.74) | |
| CMYK | cmyk(7.25% 76.33% 0% 18.82%) | |
| Android | #ffc031cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.58:1
Pass 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="#c031cf"
Gradient stop
<stop stop-color="#c031cf"/>
CSS variable + fill
:root { --c: #c031cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c031cf; background-color: #c031cf; bg-[#c031cf]