#d7175c
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 | #d7175c | |
| RGB | rgb(215 23 92) | |
| HSL | hsl(338.44 80.67% 46.67%) | |
| OKLCH | oklch(0.57 0.22 8.9) | |
| CMYK | cmyk(0% 89.3% 57.21% 15.69%) | |
| Android | #ffd7175c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.16: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="#d7175c"
Gradient stop
<stop stop-color="#d7175c"/>
CSS variable + fill
:root { --c: #d7175c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7175c; background-color: #d7175c; bg-[#d7175c]