#985c8d
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 | #985c8d | |
| RGB | rgb(152 92 141) | |
| HSL | hsl(311 24.59% 47.84%) | |
| OKLCH | oklch(0.56 0.1 333.82) | |
| CMYK | cmyk(0% 39.47% 7.24% 40.39%) | |
| Android | #ff985c8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.25:1
Fail 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="#985c8d"
Gradient stop
<stop stop-color="#985c8d"/>
CSS variable + fill
:root { --c: #985c8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #985c8d; background-color: #985c8d; bg-[#985c8d]