#cb313f
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 | #cb313f | |
| RGB | rgb(203 49 63) | |
| HSL | hsl(354.55 61.11% 49.41%) | |
| OKLCH | oklch(0.56 0.19 21.4) | |
| CMYK | cmyk(0% 75.86% 68.97% 20.39%) | |
| Android | #ffcb313f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.05: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="#cb313f"
Gradient stop
<stop stop-color="#cb313f"/>
CSS variable + fill
:root { --c: #cb313f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb313f; background-color: #cb313f; bg-[#cb313f]