#dc247a
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 | #dc247a | |
| RGB | rgb(220 36 122) | |
| HSL | hsl(331.96 72.44% 50.2%) | |
| OKLCH | oklch(0.59 0.22 359.42) | |
| CMYK | cmyk(0% 83.64% 44.55% 13.73%) | |
| Android | #ffdc247a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57: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="#dc247a"
Gradient stop
<stop stop-color="#dc247a"/>
CSS variable + fill
:root { --c: #dc247a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc247a; background-color: #dc247a; bg-[#dc247a]