#cb219c
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 | #cb219c | |
| RGB | rgb(203 33 156) | |
| HSL | hsl(316.59 72.03% 46.27%) | |
| OKLCH | oklch(0.58 0.23 342.77) | |
| CMYK | cmyk(0% 83.74% 23.15% 20.39%) | |
| Android | #ffcb219c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23:1
Fail 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="#cb219c"
Gradient stop
<stop stop-color="#cb219c"/>
CSS variable + fill
:root { --c: #cb219c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb219c; background-color: #cb219c; bg-[#cb219c]