#282931
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 | #282931 | |
| RGB | rgb(40 41 49) | |
| HSL | hsl(233.33 10.11% 17.45%) | |
| OKLCH | oklch(0.28 0.01 279.78) | |
| CMYK | cmyk(18.37% 16.33% 0% 80.78%) | |
| Android | #ff282931 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.46:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.45: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="#282931"
Gradient stop
<stop stop-color="#282931"/>
CSS variable + fill
:root { --c: #282931; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #282931; background-color: #282931; bg-[#282931]