#28311c
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 | #28311c | |
| RGB | rgb(40 49 28) | |
| HSL | hsl(85.71 27.27% 15.1%) | |
| OKLCH | oklch(0.3 0.04 127.42) | |
| CMYK | cmyk(18.37% 0% 42.86% 80.78%) | |
| Android | #ff28311c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.54: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="#28311c"
Gradient stop
<stop stop-color="#28311c"/>
CSS variable + fill
:root { --c: #28311c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #28311c; background-color: #28311c; bg-[#28311c]