#c150bd
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 | #c150bd | |
| RGB | rgb(193 80 189) | |
| HSL | hsl(302.12 47.68% 53.53%) | |
| OKLCH | oklch(0.62 0.19 329.01) | |
| CMYK | cmyk(0% 58.55% 2.07% 24.31%) | |
| Android | #ffc150bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.14: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="#c150bd"
Gradient stop
<stop stop-color="#c150bd"/>
CSS variable + fill
:root { --c: #c150bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c150bd; background-color: #c150bd; bg-[#c150bd]