#508782
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 | #508782 | |
| RGB | rgb(80 135 130) | |
| HSL | hsl(174.55 25.58% 42.16%) | |
| OKLCH | oklch(0.58 0.06 188.27) | |
| CMYK | cmyk(40.74% 0% 3.7% 47.06%) | |
| Android | #ff508782 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.12: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="#508782"
Gradient stop
<stop stop-color="#508782"/>
CSS variable + fill
:root { --c: #508782; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508782; background-color: #508782; bg-[#508782]