#db0288
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 | #db0288 | |
| RGB | rgb(219 2 136) | |
| HSL | hsl(322.95 98.19% 43.33%) | |
| OKLCH | oklch(0.58 0.24 352.93) | |
| CMYK | cmyk(0% 99.09% 37.9% 14.12%) | |
| Android | #ffdb0288 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.37:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#db0288"
Gradient stop
<stop stop-color="#db0288"/>
CSS variable + fill
:root { --c: #db0288; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db0288; background-color: #db0288; bg-[#db0288]