#d7477b
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 | #d7477b | |
| RGB | rgb(215 71 123) | |
| HSL | hsl(338.33 64.29% 56.08%) | |
| OKLCH | oklch(0.61 0.18 2.12) | |
| CMYK | cmyk(0% 66.98% 42.79% 15.69%) | |
| Android | #ffd7477b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.07: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="#d7477b"
Gradient stop
<stop stop-color="#d7477b"/>
CSS variable + fill
:root { --c: #d7477b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7477b; background-color: #d7477b; bg-[#d7477b]