#d996df
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 | #d996df | |
| RGB | rgb(217 150 223) | |
| HSL | hsl(295.07 53.28% 73.14%) | |
| OKLCH | oklch(0.76 0.12 323.86) | |
| CMYK | cmyk(2.69% 32.74% 0% 12.55%) | |
| Android | #ffd996df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.37: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="#d996df"
Gradient stop
<stop stop-color="#d996df"/>
CSS variable + fill
:root { --c: #d996df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d996df; background-color: #d996df; bg-[#d996df]