#52787f
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 | #52787f | |
| RGB | rgb(82 120 127) | |
| HSL | hsl(189.33 21.53% 40.98%) | |
| OKLCH | oklch(0.55 0.04 210.26) | |
| CMYK | cmyk(35.43% 5.51% 0% 50.2%) | |
| Android | #ff52787f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35:1
Fail AA normal text
Pass 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="#52787f"
Gradient stop
<stop stop-color="#52787f"/>
CSS variable + fill
:root { --c: #52787f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #52787f; background-color: #52787f; bg-[#52787f]