#ca181e
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 | #ca181e | |
| RGB | rgb(202 24 30) | |
| HSL | hsl(357.98 78.76% 44.31%) | |
| OKLCH | oklch(0.54 0.21 26.97) | |
| CMYK | cmyk(0% 88.12% 85.15% 20.78%) | |
| Android | #ffca181e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.66: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="#ca181e"
Gradient stop
<stop stop-color="#ca181e"/>
CSS variable + fill
:root { --c: #ca181e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca181e; background-color: #ca181e; bg-[#ca181e]