#c370b2
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 | #c370b2 | |
| RGB | rgb(195 112 178) | |
| HSL | hsl(312.29 40.89% 60.2%) | |
| OKLCH | oklch(0.66 0.13 335) | |
| CMYK | cmyk(0% 42.56% 8.72% 23.53%) | |
| Android | #ffc370b2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.28: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="#c370b2"
Gradient stop
<stop stop-color="#c370b2"/>
CSS variable + fill
:root { --c: #c370b2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c370b2; background-color: #c370b2; bg-[#c370b2]