#cd27c8
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 | #cd27c8 | |
| RGB | rgb(205 39 200) | |
| HSL | hsl(301.81 68.03% 47.84%) | |
| OKLCH | oklch(0.6 0.25 329.57) | |
| CMYK | cmyk(0% 80.98% 2.44% 19.61%) | |
| Android | #ffcd27c8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.44:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.72: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="#cd27c8"
Gradient stop
<stop stop-color="#cd27c8"/>
CSS variable + fill
:root { --c: #cd27c8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd27c8; background-color: #cd27c8; bg-[#cd27c8]