#514256
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 | #514256 | |
| RGB | rgb(81 66 86) | |
| HSL | hsl(285 13.16% 29.8%) | |
| OKLCH | oklch(0.4 0.04 317.6) | |
| CMYK | cmyk(5.81% 23.26% 0% 66.27%) | |
| Android | #ff514256 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.26: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="#514256"
Gradient stop
<stop stop-color="#514256"/>
CSS variable + fill
:root { --c: #514256; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #514256; background-color: #514256; bg-[#514256]