#c91031
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 | #c91031 | |
| RGB | rgb(201 16 49) | |
| HSL | hsl(349.3 85.25% 42.55%) | |
| OKLCH | oklch(0.53 0.21 21.52) | |
| CMYK | cmyk(0% 92.04% 75.62% 21.18%) | |
| Android | #ffc91031 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.83:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.60: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="#c91031"
Gradient stop
<stop stop-color="#c91031"/>
CSS variable + fill
:root { --c: #c91031; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c91031; background-color: #c91031; bg-[#c91031]