mediumvioletred (#c71585)
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 | #c71585 | |
| RGB | rgb(199 21 133) | |
| HSL | hsl(322.25 80.91% 43.14%) | |
| OKLCH | oklch(0.55 0.22 349.69) | |
| CMYK | cmyk(0% 89.45% 33.17% 21.96%) | |
| Android | #ffc71585 |
Names & lists
mediumvioletred CSS named
Web-safe: No
Tailwind: No
Contrast
Aa
5.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.87: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="#c71585"
Gradient stop
<stop stop-color="#c71585"/>
CSS variable + fill
:root { --c: #c71585; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c71585; background-color: #c71585; bg-[#c71585]