#cd028e
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 | #cd028e | |
| RGB | rgb(205 2 142) | |
| HSL | hsl(318.62 98.07% 40.59%) | |
| OKLCH | oklch(0.56 0.24 347.55) | |
| CMYK | cmyk(0% 99.02% 30.73% 19.61%) | |
| Android | #ffcd028e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.25:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.99: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="#cd028e"
Gradient stop
<stop stop-color="#cd028e"/>
CSS variable + fill
:root { --c: #cd028e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd028e; background-color: #cd028e; bg-[#cd028e]