#c6151d
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 | #c6151d | |
| RGB | rgb(198 21 29) | |
| HSL | hsl(357.29 80.82% 42.94%) | |
| OKLCH | oklch(0.53 0.21 26.79) | |
| CMYK | cmyk(0% 89.39% 85.35% 22.35%) | |
| Android | #ffc6151d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.52: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="#c6151d"
Gradient stop
<stop stop-color="#c6151d"/>
CSS variable + fill
:root { --c: #c6151d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c6151d; background-color: #c6151d; bg-[#c6151d]