#28281c
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 | #28281c | |
| RGB | rgb(40 40 28) | |
| HSL | hsl(60 17.65% 13.33%) | |
| OKLCH | oklch(0.27 0.02 107.72) | |
| CMYK | cmyk(0% 0% 30% 84.31%) | |
| Android | #ff28281c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.41: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="#28281c"
Gradient stop
<stop stop-color="#28281c"/>
CSS variable + fill
:root { --c: #28281c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #28281c; background-color: #28281c; bg-[#28281c]