#de2d7e
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 | #de2d7e | |
| RGB | rgb(222 45 126) | |
| HSL | hsl(332.54 72.84% 52.35%) | |
| OKLCH | oklch(0.6 0.22 359.02) | |
| CMYK | cmyk(0% 79.73% 43.24% 12.94%) | |
| Android | #ffde2d7e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.39:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78: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="#de2d7e"
Gradient stop
<stop stop-color="#de2d7e"/>
CSS variable + fill
:root { --c: #de2d7e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de2d7e; background-color: #de2d7e; bg-[#de2d7e]