#c54582
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 | #c54582 | |
| RGB | rgb(197 69 130) | |
| HSL | hsl(331.41 52.46% 52.16%) | |
| OKLCH | oklch(0.58 0.17 354.34) | |
| CMYK | cmyk(0% 64.97% 34.01% 22.75%) | |
| Android | #ffc54582 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass 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="#c54582"
Gradient stop
<stop stop-color="#c54582"/>
CSS variable + fill
:root { --c: #c54582; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c54582; background-color: #c54582; bg-[#c54582]