#d160ec
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 | #d160ec | |
| RGB | rgb(209 96 236) | |
| HSL | hsl(288.43 78.65% 65.1%) | |
| OKLCH | oklch(0.68 0.22 319.48) | |
| CMYK | cmyk(11.44% 59.32% 0% 7.45%) | |
| Android | #ffd160ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.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="#d160ec"
Gradient stop
<stop stop-color="#d160ec"/>
CSS variable + fill
:root { --c: #d160ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d160ec; background-color: #d160ec; bg-[#d160ec]