#900d31
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 | #900d31 | |
| RGB | rgb(144 13 49) | |
| HSL | hsl(343.51 83.44% 30.78%) | |
| OKLCH | oklch(0.42 0.16 14.37) | |
| CMYK | cmyk(0% 90.97% 65.97% 43.53%) | |
| Android | #ff900d31 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.28:1
Fail AA normal text
Fail 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="#900d31"
Gradient stop
<stop stop-color="#900d31"/>
CSS variable + fill
:root { --c: #900d31; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #900d31; background-color: #900d31; bg-[#900d31]