#d74dcd
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 | #d74dcd | |
| RGB | rgb(215 77 205) | |
| HSL | hsl(304.35 63.3% 57.25%) | |
| OKLCH | oklch(0.65 0.22 330.81) | |
| CMYK | cmyk(0% 64.19% 4.65% 15.69%) | |
| Android | #ffd74dcd |
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.83: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="#d74dcd"
Gradient stop
<stop stop-color="#d74dcd"/>
CSS variable + fill
:root { --c: #d74dcd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d74dcd; background-color: #d74dcd; bg-[#d74dcd]