#d00ec2
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 | #d00ec2 | |
| RGB | rgb(208 14 194) | |
| HSL | hsl(304.33 87.39% 43.53%) | |
| OKLCH | oklch(0.6 0.26 332.1) | |
| CMYK | cmyk(0% 93.27% 6.73% 18.43%) | |
| Android | #ffd00ec2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#d00ec2"
Gradient stop
<stop stop-color="#d00ec2"/>
CSS variable + fill
:root { --c: #d00ec2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d00ec2; background-color: #d00ec2; bg-[#d00ec2]