#d45f78
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 | #d45f78 | |
| RGB | rgb(212 95 120) | |
| HSL | hsl(347.18 57.64% 60.2%) | |
| OKLCH | oklch(0.64 0.15 8.99) | |
| CMYK | cmyk(0% 55.19% 43.4% 16.86%) | |
| Android | #ffd45f78 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.67:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.70: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="#d45f78"
Gradient stop
<stop stop-color="#d45f78"/>
CSS variable + fill
:root { --c: #d45f78; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d45f78; background-color: #d45f78; bg-[#d45f78]