#de187b
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 | #de187b | |
| RGB | rgb(222 24 123) | |
| HSL | hsl(330 80.49% 48.24%) | |
| OKLCH | oklch(0.59 0.23 358.77) | |
| CMYK | cmyk(0% 89.19% 44.59% 12.94%) | |
| Android | #ffde187b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52: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="#de187b"
Gradient stop
<stop stop-color="#de187b"/>
CSS variable + fill
:root { --c: #de187b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de187b; background-color: #de187b; bg-[#de187b]