#540b37
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 | #540b37 | |
| RGB | rgb(84 11 55) | |
| HSL | hsl(323.84 76.84% 18.63%) | |
| OKLCH | oklch(0.3 0.11 349.42) | |
| CMYK | cmyk(0% 86.9% 34.52% 67.06%) | |
| Android | #ff540b37 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.47: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="#540b37"
Gradient stop
<stop stop-color="#540b37"/>
CSS variable + fill
:root { --c: #540b37; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #540b37; background-color: #540b37; bg-[#540b37]