#db98bd
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 | #db98bd | |
| RGB | rgb(219 152 189) | |
| HSL | hsl(326.87 48.2% 72.75%) | |
| OKLCH | oklch(0.76 0.09 345.31) | |
| CMYK | cmyk(0% 30.59% 13.7% 14.12%) | |
| Android | #ffdb98bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.27:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.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="#db98bd"
Gradient stop
<stop stop-color="#db98bd"/>
CSS variable + fill
:root { --c: #db98bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db98bd; background-color: #db98bd; bg-[#db98bd]