#c82222
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 | #c82222 | |
| RGB | rgb(200 34 34) | |
| HSL | hsl(0 70.94% 45.88%) | |
| OKLCH | oklch(0.54 0.2 27.29) | |
| CMYK | cmyk(0% 83% 83% 21.57%) | |
| Android | #ffc82222 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.70: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="#c82222"
Gradient stop
<stop stop-color="#c82222"/>
CSS variable + fill
:root { --c: #c82222; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c82222; background-color: #c82222; bg-[#c82222]