#dc1b36
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 | #dc1b36 | |
| RGB | rgb(220 27 54) | |
| HSL | hsl(351.61 78.14% 48.43%) | |
| OKLCH | oklch(0.57 0.22 22.31) | |
| CMYK | cmyk(0% 87.73% 75.45% 13.73%) | |
| Android | #ffdc1b36 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.93:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.25: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="#dc1b36"
Gradient stop
<stop stop-color="#dc1b36"/>
CSS variable + fill
:root { --c: #dc1b36; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc1b36; background-color: #dc1b36; bg-[#dc1b36]