#cd26b4
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 | #cd26b4 | |
| RGB | rgb(205 38 180) | |
| HSL | hsl(308.98 68.72% 47.65%) | |
| OKLCH | oklch(0.59 0.24 335.49) | |
| CMYK | cmyk(0% 81.46% 12.2% 19.61%) | |
| Android | #ffcd26b4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.53:1
Pass 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="#cd26b4"
Gradient stop
<stop stop-color="#cd26b4"/>
CSS variable + fill
:root { --c: #cd26b4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd26b4; background-color: #cd26b4; bg-[#cd26b4]