#54151e
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 | #54151e | |
| RGB | rgb(84 21 30) | |
| HSL | hsl(351.43 60% 20.59%) | |
| OKLCH | oklch(0.3 0.09 16.48) | |
| CMYK | cmyk(0% 75% 64.29% 67.06%) | |
| Android | #ff54151e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.50: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="#54151e"
Gradient stop
<stop stop-color="#54151e"/>
CSS variable + fill
:root { --c: #54151e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #54151e; background-color: #54151e; bg-[#54151e]