#c21774
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 | #c21774 | |
| RGB | rgb(194 23 116) | |
| HSL | hsl(327.37 78.8% 42.55%) | |
| OKLCH | oklch(0.54 0.21 355.17) | |
| CMYK | cmyk(0% 88.14% 40.21% 23.92%) | |
| Android | #ffc21774 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.72:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.66: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="#c21774"
Gradient stop
<stop stop-color="#c21774"/>
CSS variable + fill
:root { --c: #c21774; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c21774; background-color: #c21774; bg-[#c21774]