#c950b2
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 | #c950b2 | |
| RGB | rgb(201 80 178) | |
| HSL | hsl(311.4 52.84% 55.1%) | |
| OKLCH | oklch(0.62 0.19 335.75) | |
| CMYK | cmyk(0% 60.2% 11.44% 21.18%) | |
| Android | #ffc950b2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.98:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.27: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="#c950b2"
Gradient stop
<stop stop-color="#c950b2"/>
CSS variable + fill
:root { --c: #c950b2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c950b2; background-color: #c950b2; bg-[#c950b2]