#dc38ac
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 | #dc38ac | |
| RGB | rgb(220 56 172) | |
| HSL | hsl(317.56 70.09% 54.12%) | |
| OKLCH | oklch(0.62 0.23 342.49) | |
| CMYK | cmyk(0% 74.55% 21.82% 13.73%) | |
| Android | #ffdc38ac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20: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="#dc38ac"
Gradient stop
<stop stop-color="#dc38ac"/>
CSS variable + fill
:root { --c: #dc38ac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc38ac; background-color: #dc38ac; bg-[#dc38ac]