#cd05b6
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 | #cd05b6 | |
| RGB | rgb(205 5 182) | |
| HSL | hsl(306.9 95.24% 41.18%) | |
| OKLCH | oklch(0.58 0.26 334.73) | |
| CMYK | cmyk(0% 97.56% 11.22% 19.61%) | |
| Android | #ffcd05b6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.29: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="#cd05b6"
Gradient stop
<stop stop-color="#cd05b6"/>
CSS variable + fill
:root { --c: #cd05b6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd05b6; background-color: #cd05b6; bg-[#cd05b6]