#cb1841
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 | #cb1841 | |
| RGB | rgb(203 24 65) | |
| HSL | hsl(346.26 78.85% 44.51%) | |
| OKLCH | oklch(0.54 0.21 17.17) | |
| CMYK | cmyk(0% 88.18% 67.98% 20.39%) | |
| Android | #ffcb1841 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.74: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="#cb1841"
Gradient stop
<stop stop-color="#cb1841"/>
CSS variable + fill
:root { --c: #cb1841; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb1841; background-color: #cb1841; bg-[#cb1841]