#d54987
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 | #d54987 | |
| RGB | rgb(213 73 135) | |
| HSL | hsl(333.43 62.5% 56.08%) | |
| OKLCH | oklch(0.62 0.18 356.63) | |
| CMYK | cmyk(0% 65.73% 36.62% 16.47%) | |
| Android | #ffd54987 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.13: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="#d54987"
Gradient stop
<stop stop-color="#d54987"/>
CSS variable + fill
:root { --c: #d54987; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d54987; background-color: #d54987; bg-[#d54987]