#cd1b27
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 | #cd1b27 | |
| RGB | rgb(205 27 39) | |
| HSL | hsl(355.96 76.72% 45.49%) | |
| OKLCH | oklch(0.54 0.21 25.4) | |
| CMYK | cmyk(0% 86.83% 80.98% 19.61%) | |
| Android | #ffcd1b27 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.78: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="#cd1b27"
Gradient stop
<stop stop-color="#cd1b27"/>
CSS variable + fill
:root { --c: #cd1b27; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd1b27; background-color: #cd1b27; bg-[#cd1b27]