#4d1e2d
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 | #4d1e2d | |
| RGB | rgb(77 30 45) | |
| HSL | hsl(340.85 43.93% 20.98%) | |
| OKLCH | oklch(0.31 0.07 2.26) | |
| CMYK | cmyk(0% 61.04% 41.56% 69.8%) | |
| Android | #ff4d1e2d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.53: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="#4d1e2d"
Gradient stop
<stop stop-color="#4d1e2d"/>
CSS variable + fill
:root { --c: #4d1e2d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4d1e2d; background-color: #4d1e2d; bg-[#4d1e2d]