#db1dcd
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 | #db1dcd | |
| RGB | rgb(219 29 205) | |
| HSL | hsl(304.42 76.61% 48.63%) | |
| OKLCH | oklch(0.62 0.27 331.91) | |
| CMYK | cmyk(0% 86.76% 6.39% 14.12%) | |
| Android | #ffdb1dcd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.14:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.06: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="#db1dcd"
Gradient stop
<stop stop-color="#db1dcd"/>
CSS variable + fill
:root { --c: #db1dcd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db1dcd; background-color: #db1dcd; bg-[#db1dcd]