#c81817
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 | #c81817 | |
| RGB | rgb(200 24 23) | |
| HSL | hsl(0.34 79.37% 43.73%) | |
| OKLCH | oklch(0.53 0.21 28.22) | |
| CMYK | cmyk(0% 88% 88.5% 21.57%) | |
| Android | #ffc81817 |
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.59: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="#c81817"
Gradient stop
<stop stop-color="#c81817"/>
CSS variable + fill
:root { --c: #c81817; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c81817; background-color: #c81817; bg-[#c81817]