#d766cd
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 | #d766cd | |
| RGB | rgb(215 102 205) | |
| HSL | hsl(305.31 58.55% 62.16%) | |
| OKLCH | oklch(0.68 0.19 330.87) | |
| CMYK | cmyk(0% 52.56% 4.65% 15.69%) | |
| Android | #ffd766cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.14:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.67: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="#d766cd"
Gradient stop
<stop stop-color="#d766cd"/>
CSS variable + fill
:root { --c: #d766cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d766cd; background-color: #d766cd; bg-[#d766cd]