#d050f2
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 | #d050f2 | |
| RGB | rgb(208 80 242) | |
| HSL | hsl(287.41 86.17% 63.14%) | |
| OKLCH | oklch(0.67 0.25 318.44) | |
| CMYK | cmyk(14.05% 66.94% 0% 5.1%) | |
| Android | #ffd050f2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.43:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.11: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="#d050f2"
Gradient stop
<stop stop-color="#d050f2"/>
CSS variable + fill
:root { --c: #d050f2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d050f2; background-color: #d050f2; bg-[#d050f2]