#313236
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 | #313236 | |
| RGB | rgb(49 50 54) | |
| HSL | hsl(228 4.85% 20.2%) | |
| OKLCH | oklch(0.32 0.01 274.75) | |
| CMYK | cmyk(9.26% 7.41% 0% 78.82%) | |
| Android | #ff313236 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.64: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="#313236"
Gradient stop
<stop stop-color="#313236"/>
CSS variable + fill
:root { --c: #313236; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #313236; background-color: #313236; bg-[#313236]