#dc273d
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 | #dc273d | |
| RGB | rgb(220 39 61) | |
| HSL | hsl(352.71 72.11% 50.78%) | |
| OKLCH | oklch(0.58 0.21 21.62) | |
| CMYK | cmyk(0% 82.27% 72.27% 13.73%) | |
| Android | #ffdc273d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40: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="#dc273d"
Gradient stop
<stop stop-color="#dc273d"/>
CSS variable + fill
:root { --c: #dc273d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc273d; background-color: #dc273d; bg-[#dc273d]