#c54888
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 | #c54888 | |
| RGB | rgb(197 72 136) | |
| HSL | hsl(329.28 51.87% 52.75%) | |
| OKLCH | oklch(0.59 0.17 351.92) | |
| CMYK | cmyk(0% 63.45% 30.96% 22.75%) | |
| Android | #ffc54888 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65: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="#c54888"
Gradient stop
<stop stop-color="#c54888"/>
CSS variable + fill
:root { --c: #c54888; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c54888; background-color: #c54888; bg-[#c54888]