#545754
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 | #545754 | |
| RGB | rgb(84 87 84) | |
| HSL | hsl(120 1.75% 33.53%) | |
| OKLCH | oklch(0.45 0.01 145.47) | |
| CMYK | cmyk(3.45% 0% 3.45% 65.88%) | |
| Android | #ff545754 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.86: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="#545754"
Gradient stop
<stop stop-color="#545754"/>
CSS variable + fill
:root { --c: #545754; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #545754; background-color: #545754; bg-[#545754]