#c7232e
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 | #c7232e | |
| RGB | rgb(199 35 46) | |
| HSL | hsl(355.98 70.09% 45.88%) | |
| OKLCH | oklch(0.54 0.2 24.29) | |
| CMYK | cmyk(0% 82.41% 76.88% 21.96%) | |
| Android | #ffc7232e |
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="#c7232e"
Gradient stop
<stop stop-color="#c7232e"/>
CSS variable + fill
:root { --c: #c7232e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c7232e; background-color: #c7232e; bg-[#c7232e]