#51384d
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 | #51384d | |
| RGB | rgb(81 56 77) | |
| HSL | hsl(309.6 18.25% 26.86%) | |
| OKLCH | oklch(0.38 0.05 332.19) | |
| CMYK | cmyk(0% 30.86% 4.94% 68.24%) | |
| Android | #ff51384d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.38:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.02: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="#51384d"
Gradient stop
<stop stop-color="#51384d"/>
CSS variable + fill
:root { --c: #51384d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #51384d; background-color: #51384d; bg-[#51384d]