#ff5c8d
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 | #ff5c8d | |
| RGB | rgb(255 92 141) | |
| HSL | hsl(341.96 100% 68.04%) | |
| OKLCH | oklch(0.7 0.2 5.45) | |
| CMYK | cmyk(0% 63.92% 44.71% 0%) | |
| Android | #ffff5c8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.92:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.16: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="#ff5c8d"
Gradient stop
<stop stop-color="#ff5c8d"/>
CSS variable + fill
:root { --c: #ff5c8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ff5c8d; background-color: #ff5c8d; bg-[#ff5c8d]