#511f37
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 | #511f37 | |
| RGB | rgb(81 31 55) | |
| HSL | hsl(331.2 44.64% 21.96%) | |
| OKLCH | oklch(0.32 0.08 352.62) | |
| CMYK | cmyk(0% 61.73% 32.1% 68.24%) | |
| Android | #ff511f37 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.60: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="#511f37"
Gradient stop
<stop stop-color="#511f37"/>
CSS variable + fill
:root { --c: #511f37; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #511f37; background-color: #511f37; bg-[#511f37]