#cb06a4
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 | #cb06a4 | |
| RGB | rgb(203 6 164) | |
| HSL | hsl(311.88 94.26% 40.98%) | |
| OKLCH | oklch(0.57 0.25 339.72) | |
| CMYK | cmyk(0% 97.04% 19.21% 20.39%) | |
| Android | #ffcb06a4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.10: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="#cb06a4"
Gradient stop
<stop stop-color="#cb06a4"/>
CSS variable + fill
:root { --c: #cb06a4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb06a4; background-color: #cb06a4; bg-[#cb06a4]