#c54845
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 | #c54845 | |
| RGB | rgb(197 72 69) | |
| HSL | hsl(1.41 52.46% 52.16%) | |
| OKLCH | oklch(0.57 0.16 24.95) | |
| CMYK | cmyk(0% 63.45% 64.97% 22.75%) | |
| Android | #ffc54845 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.38: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="#c54845"
Gradient stop
<stop stop-color="#c54845"/>
CSS variable + fill
:root { --c: #c54845; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c54845; background-color: #c54845; bg-[#c54845]