#cb46c8
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 | #cb46c8 | |
| RGB | rgb(203 70 200) | |
| HSL | hsl(301.35 56.12% 53.53%) | |
| OKLCH | oklch(0.63 0.22 328.76) | |
| CMYK | cmyk(0% 65.52% 1.48% 20.39%) | |
| Android | #ffcb46c8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.24: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="#cb46c8"
Gradient stop
<stop stop-color="#cb46c8"/>
CSS variable + fill
:root { --c: #cb46c8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb46c8; background-color: #cb46c8; bg-[#cb46c8]