#5e798e
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 | #5e798e | |
| RGB | rgb(94 121 142) | |
| HSL | hsl(206.25 20.34% 46.27%) | |
| OKLCH | oklch(0.56 0.05 241.97) | |
| CMYK | cmyk(33.8% 14.79% 0% 44.31%) | |
| Android | #ff5e798e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.60:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#5e798e"
Gradient stop
<stop stop-color="#5e798e"/>
CSS variable + fill
:root { --c: #5e798e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5e798e; background-color: #5e798e; bg-[#5e798e]