#dc339e
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 | #dc339e | |
| RGB | rgb(220 51 158) | |
| HSL | hsl(322.01 70.71% 53.14%) | |
| OKLCH | oklch(0.62 0.22 347.12) | |
| CMYK | cmyk(0% 76.82% 28.18% 13.73%) | |
| Android | #ffdc339e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.01: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="#dc339e"
Gradient stop
<stop stop-color="#dc339e"/>
CSS variable + fill
:root { --c: #dc339e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc339e; background-color: #dc339e; bg-[#dc339e]