#db0fa1
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 | #db0fa1 | |
| RGB | rgb(219 15 161) | |
| HSL | hsl(317.06 87.18% 45.88%) | |
| OKLCH | oklch(0.6 0.25 344.78) | |
| CMYK | cmyk(0% 93.15% 26.48% 14.12%) | |
| Android | #ffdb0fa1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59: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="#db0fa1"
Gradient stop
<stop stop-color="#db0fa1"/>
CSS variable + fill
:root { --c: #db0fa1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db0fa1; background-color: #db0fa1; bg-[#db0fa1]