#db56ce
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 | #db56ce | |
| RGB | rgb(219 86 206) | |
| HSL | hsl(305.86 64.88% 59.8%) | |
| OKLCH | oklch(0.67 0.21 331.71) | |
| CMYK | cmyk(0% 60.73% 5.94% 14.12%) | |
| Android | #ffdb56ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.23: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="#db56ce"
Gradient stop
<stop stop-color="#db56ce"/>
CSS variable + fill
:root { --c: #db56ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db56ce; background-color: #db56ce; bg-[#db56ce]