#d020ce
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 | #d020ce | |
| RGB | rgb(208 32 206) | |
| HSL | hsl(300.68 73.33% 47.06%) | |
| OKLCH | oklch(0.61 0.26 328.77) | |
| CMYK | cmyk(0% 84.62% 0.96% 18.43%) | |
| Android | #ffd020ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.39:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.77: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="#d020ce"
Gradient stop
<stop stop-color="#d020ce"/>
CSS variable + fill
:root { --c: #d020ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d020ce; background-color: #d020ce; bg-[#d020ce]