#db3ca7
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 | #db3ca7 | |
| RGB | rgb(219 60 167) | |
| HSL | hsl(319.62 68.83% 54.71%) | |
| OKLCH | oklch(0.62 0.22 344.14) | |
| CMYK | cmyk(0% 72.6% 23.74% 14.12%) | |
| Android | #ffdb3ca7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.21: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="#db3ca7"
Gradient stop
<stop stop-color="#db3ca7"/>
CSS variable + fill
:root { --c: #db3ca7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db3ca7; background-color: #db3ca7; bg-[#db3ca7]