#c91e2f
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 | #c91e2f | |
| RGB | rgb(201 30 47) | |
| HSL | hsl(354.04 74.03% 45.29%) | |
| OKLCH | oklch(0.54 0.2 23.44) | |
| CMYK | cmyk(0% 85.07% 76.62% 21.18%) | |
| Android | #ffc91e2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.71: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="#c91e2f"
Gradient stop
<stop stop-color="#c91e2f"/>
CSS variable + fill
:root { --c: #c91e2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c91e2f; background-color: #c91e2f; bg-[#c91e2f]