#d31075
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 | #d31075 | |
| RGB | rgb(211 16 117) | |
| HSL | hsl(328.92 85.9% 44.51%) | |
| OKLCH | oklch(0.57 0.22 358.37) | |
| CMYK | cmyk(0% 92.42% 44.55% 17.25%) | |
| Android | #ffd31075 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.10: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="#d31075"
Gradient stop
<stop stop-color="#d31075"/>
CSS variable + fill
:root { --c: #d31075; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d31075; background-color: #d31075; bg-[#d31075]