#d12931
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 | #d12931 | |
| RGB | rgb(209 41 49) | |
| HSL | hsl(357.14 67.2% 49.02%) | |
| OKLCH | oklch(0.56 0.2 24.79) | |
| CMYK | cmyk(0% 80.38% 76.56% 18.04%) | |
| Android | #ffd12931 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.07: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="#d12931"
Gradient stop
<stop stop-color="#d12931"/>
CSS variable + fill
:root { --c: #d12931; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d12931; background-color: #d12931; bg-[#d12931]