#d03cea
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 | #d03cea | |
| RGB | rgb(208 60 234) | |
| HSL | hsl(291.03 80.56% 57.65%) | |
| OKLCH | oklch(0.64 0.26 321.14) | |
| CMYK | cmyk(11.11% 74.36% 0% 8.24%) | |
| Android | #ffd03cea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51: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="#d03cea"
Gradient stop
<stop stop-color="#d03cea"/>
CSS variable + fill
:root { --c: #d03cea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d03cea; background-color: #d03cea; bg-[#d03cea]