#de148c
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 | #de148c | |
| RGB | rgb(222 20 140) | |
| HSL | hsl(324.36 83.47% 47.45%) | |
| OKLCH | oklch(0.6 0.24 352.59) | |
| CMYK | cmyk(0% 90.99% 36.94% 12.94%) | |
| Android | #ffde148c |
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.58: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="#de148c"
Gradient stop
<stop stop-color="#de148c"/>
CSS variable + fill
:root { --c: #de148c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de148c; background-color: #de148c; bg-[#de148c]