#d052db
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 | #d052db | |
| RGB | rgb(208 82 219) | |
| HSL | hsl(295.18 65.55% 59.02%) | |
| OKLCH | oklch(0.65 0.22 324.43) | |
| CMYK | cmyk(5.02% 62.56% 0% 14.12%) | |
| Android | #ffd052db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.55:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.91: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="#d052db"
Gradient stop
<stop stop-color="#d052db"/>
CSS variable + fill
:root { --c: #d052db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d052db; background-color: #d052db; bg-[#d052db]