#301321
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 | #301321 | |
| RGB | rgb(48 19 33) | |
| HSL | hsl(331.03 43.28% 13.14%) | |
| OKLCH | oklch(0.24 0.05 351.49) | |
| CMYK | cmyk(0% 60.42% 31.25% 81.18%) | |
| Android | #ff301321 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
16.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.24: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="#301321"
Gradient stop
<stop stop-color="#301321"/>
CSS variable + fill
:root { --c: #301321; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #301321; background-color: #301321; bg-[#301321]