#d71474
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 | #d71474 | |
| RGB | rgb(215 20 116) | |
| HSL | hsl(330.46 82.98% 46.08%) | |
| OKLCH | oklch(0.57 0.23 359.74) | |
| CMYK | cmyk(0% 90.7% 46.05% 15.69%) | |
| Android | #ffd71474 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.24:1
Fail 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="#d71474"
Gradient stop
<stop stop-color="#d71474"/>
CSS variable + fill
:root { --c: #d71474; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d71474; background-color: #d71474; bg-[#d71474]