#d052d3
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 | #d052d3 | |
| RGB | rgb(208 82 211) | |
| HSL | hsl(298.6 59.45% 57.45%) | |
| OKLCH | oklch(0.65 0.22 326.79) | |
| CMYK | cmyk(1.42% 61.14% 0% 17.25%) | |
| Android | #ffd052d3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.60:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.82: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="#d052d3"
Gradient stop
<stop stop-color="#d052d3"/>
CSS variable + fill
:root { --c: #d052d3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d052d3; background-color: #d052d3; bg-[#d052d3]